Skip to content

hook into beforeDelete() #3

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions