Skip to content

after_delete should also pass the original arguments #230

Description

@Cipa

public function delete($id)
.....
$this->trigger('before_delete', $id);
I can do stuff with the id

$this->trigger('after_delete', $result);
No id passed
so maybe $result should be array('result' => $result, 'id' => $id)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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