mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
[ticket/11400] If email is disabled, disable it for notifications
PHPBB3-11400
This commit is contained in:
@@ -53,8 +53,7 @@ class phpbb_notification_method_email extends phpbb_notification_method_base
|
||||
*/
|
||||
public function is_available()
|
||||
{
|
||||
// Email is always available
|
||||
return true;
|
||||
return (bool) $this->config['email_enable'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user