Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Add support for afterDelete() callback #159

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

inigoflores
Copy link

The proposed code dispatches a Model.afterDelete event once the softdelete has been completed, enabling the afterDelete() callback in the model.

It also prevents the afterSave() callback from being called by setting 'callbacks' => false when updating the record.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant