Skip to content

Commit

Permalink
UserObserver test removal
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnakamura committed Jun 4, 2022
1 parent 4ce092b commit d1eb74f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Observers/User/UserObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ public function created($user)
return;
}

if(strpos($user->name, 'supernova') === false) {
return;
}

$user->loadMissing(
'company',
'groups',
Expand Down Expand Up @@ -53,10 +49,6 @@ public function updated($user)
return;
}

if(strpos($user->name, 'supernova') === false) {
return;
}

$user->loadMissing(
'company',
'groups',
Expand Down

0 comments on commit d1eb74f

Please sign in to comment.