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

hook into beforeDelete() #3

Open
ghost opened this issue Oct 12, 2018 · 0 comments
Open

hook into beforeDelete() #3

ghost opened this issue Oct 12, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 12, 2018

I'm not able to hook into beforeDelete() model callback. I saw at the code of this plugin that you are doing this:

/**
* Intercept calls to delete and soft delete instead
* @param  Model   $model
* @param  boolean $cascade Cascade delete to associated models
* @return boolean          Always false so record isn't properly deleted
*/
public function beforeDelete(Model $model, $cascade = true)
{
}

Maybe we need to change this behavior?

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

No branches or pull requests

0 participants