mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'EXreaction/ticket/11400' into develop
# By Nathan Guse # Via Nathan Guse * EXreaction/ticket/11400: [ticket/11400] If email is disabled, disable it for notifications
This commit is contained in:
commit
597c16a936
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()
|
||||
{
|
||||
// Email is always available
|
||||
return true;
|
||||
return (bool) $this->config['email_enable'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue