Fixed static function trait
This commit is contained in:
1 parent
cd12ac72c7
commit
1e0f2017f6
1 file changed
+1
-1
@@ -124,7 +124,7 @@ trait UserOrganisations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function bootUserOrganisations()
|
static public function bootUserOrganisations()
|
||||||
{
|
{
|
||||||
static::deleting(function ($user) {
|
static::deleting(function ($user) {
|
||||||
if (!$user->deleteUserOrganisations($user->isForceDeleting())) {
|
if (!$user->deleteUserOrganisations($user->isForceDeleting())) {
|
||||||
|
|||||||
Reference in new issue
Block a user