Skip to content

Commit

Permalink
Don't prevent future events firing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcdonald-uk committed Mar 22, 2017
1 parent 2841b88 commit 96adea1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Listeners/Deleting.php
Expand Up @@ -17,8 +17,6 @@ public function handle($model)
}

$model -> deleted_by = auth() -> id();

$model -> flushEventListeners();
$model -> save();
}
}

1 comment on commit 96adea1

@mattmcdonald-uk
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #7

Please sign in to comment.