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

[5.4] Remove superfluous ForceDelete extension from SoftDeletingScope #17552

Merged

Conversation

ockle
Copy link
Contributor

@ockle ockle commented Jan 25, 2017

Seeing as Illuminate\Database\Eloquent\Builder already has a forceDelete() method, there's no point adding a forceDelete macro to it in Illuminate\Database\Eloquent\SoftDeletingScopeas it will never get called (nor would it need to, because the macro does exactly the same thing the native method does).

@taylorotwell taylorotwell merged commit 90b011c into laravel:5.4 Jan 26, 2017
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