Fixed static boot

This commit is contained in:
2023-08-23 08:39:55 +01:00
parent d0479352fb
commit d5e5fbb7ee

View File

@@ -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()) {