Fixed static boot
This commit is contained in:
1 parent
d0479352fb
commit
d5e5fbb7ee
1 file changed
+1
-1
@@ -29,7 +29,7 @@ trait UserPermanentlyDeletable {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function bootUserPermanentlyDeletable()
|
||||
static public function bootUserPermanentlyDeletable()
|
||||
{
|
||||
static::deleting(function ($user) {
|
||||
if (!$user->preventActivityPurge()) {
|
||||
|
||||
Reference in new issue
Block a user