From d1eb74f9c5a37b0e5ef8014f30e35b8e865496ee Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Jun 2022 20:27:40 -0300 Subject: [PATCH] UserObserver test removal --- src/Observers/User/UserObserver.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Observers/User/UserObserver.php b/src/Observers/User/UserObserver.php index 470a19f..e5ce09a 100644 --- a/src/Observers/User/UserObserver.php +++ b/src/Observers/User/UserObserver.php @@ -16,10 +16,6 @@ public function created($user) return; } - if(strpos($user->name, 'supernova') === false) { - return; - } - $user->loadMissing( 'company', 'groups', @@ -53,10 +49,6 @@ public function updated($user) return; } - if(strpos($user->name, 'supernova') === false) { - return; - } - $user->loadMissing( 'company', 'groups',