Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.x] only check for soft deletes once when mass-pruning #55274

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

cosmastech
Copy link
Contributor

It's not necessary to repeatedly reflect the traits of a Model to see if it's soft-deletable. This is a very minor optimization.

@cosmastech cosmastech changed the title [12.x] only fetch soft deletes once when mass-pruning [12.x] only check for soft deletes once when mass-pruning Apr 4, 2025
@taylorotwell taylorotwell merged commit e229445 into laravel:12.x Apr 4, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants