Fixed static boot

This commit is contained in:
bwilliams committed 2023-08-23 08:39:55 +01:00
1 parent d0479352fb
commit d5e5fbb7ee
1 file changed
+1 -1
@@ -29,7 +29,7 @@ trait UserPermanentlyDeletable {
return true; return true;
} }
public function bootUserPermanentlyDeletable() static public function bootUserPermanentlyDeletable()
{ {
static::deleting(function ($user) { static::deleting(function ($user) {
if (!$user->preventActivityPurge()) { if (!$user->preventActivityPurge()) {