Fixed static boot
This commit is contained in:
@@ -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