Fixed static boot
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user