Skip to content

Commit 9edc811

Browse files
committed
Declare UserManager::isEmailingAllowed as static method
1 parent c4b5172 commit 9edc811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/usermanager.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8112,7 +8112,7 @@ public static function getUsersByMail(string $mail): array
81128112
*
81138113
* @return bool Whether we can send an e-mail or not
81148114
*/
8115-
public function isEmailingAllowed(string $mail): bool
8115+
public static function isEmailingAllowed(string $mail): bool
81168116
{
81178117
$list = self::getUsersByMail($mail);
81188118
if (empty($list)) {

0 commit comments

Comments
 (0)