mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11400] If email is disabled, disable it for notifications
PHPBB3-11400
This commit is contained in:
parent
2bf98dcead
commit
ab4c1b5d0c
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@ class phpbb_notification_method_email extends phpbb_notification_method_base
|
||||||
*/
|
*/
|
||||||
public function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
// Email is always available
|
return (bool) $this->config['email_enable'];
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue