Change the check for sending notifications
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 6 May 2024 10:44:22 +0000 (12:44 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 6 May 2024 10:44:22 +0000 (12:44 +0200)
wcfsetup/install/files/lib/system/user/command/RegistrationNotification.class.php

index 7ba63f8d8b117052a5ccef09dc05c7bd205657bc..c43d9bea2db7acc44055a5f404830afeec55969b 100644 (file)
@@ -23,7 +23,7 @@ final class RegistrationNotification
 
     public function __invoke(): void
     {
-        if ($this->user->pendingActivation() && !$this->user->requiresAdminActivation()) {
+        if ($this->user->requiresEmailActivation()) {
             return;
         }