diff --git a/extensions/suspend/src/Listener/PreventAvatarDeletionBySuspendedUser.php b/extensions/suspend/src/Listener/PreventAvatarDeletionBySuspendedUser.php index 71bd347fe4..8044e718ff 100644 --- a/extensions/suspend/src/Listener/PreventAvatarDeletionBySuspendedUser.php +++ b/extensions/suspend/src/Listener/PreventAvatarDeletionBySuspendedUser.php @@ -18,7 +18,7 @@ public function handle($event) $actor = $event->actor; $user = $event->user; - if (!$actor->isAdmin() && $actor->id === $user->id && $user->suspended_until && $user->suspended_until->isFuture()) { + if (! $actor->isAdmin() && $actor->id === $user->id && $user->suspended_until && $user->suspended_until->isFuture()) { throw new PermissionDeniedException(); } }