aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification/method/email.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-06 07:39:17 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-06 07:39:17 +0100
commitd0d9005166d0647f2b6784b2391e7213f9a4447a (patch)
tree69ecccc67e77885e18b3fc79c7faf4703b1d856c /phpBB/includes/notification/method/email.php
parent923c0709dbd44f68d76979298cf7d2c732e19494 (diff)
parent597c16a9363858e343480f70b1852bce2bba5ca3 (diff)
downloadforums-d0d9005166d0647f2b6784b2391e7213f9a4447a.tar
forums-d0d9005166d0647f2b6784b2391e7213f9a4447a.tar.gz
forums-d0d9005166d0647f2b6784b2391e7213f9a4447a.tar.bz2
forums-d0d9005166d0647f2b6784b2391e7213f9a4447a.tar.xz
forums-d0d9005166d0647f2b6784b2391e7213f9a4447a.zip
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/softdelete-1-permission
* 'develop' of https://github.com/phpbb/phpbb3: [ticket/11402] Fix undefined index in post/topic_in_queue [ticket/11400] If email is disabled, disable it for notifications
Diffstat (limited to 'phpBB/includes/notification/method/email.php')
-rw-r--r--phpBB/includes/notification/method/email.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/notification/method/email.php b/phpBB/includes/notification/method/email.php
index 429dfda2ba..4a7fea6df3 100644
--- a/phpBB/includes/notification/method/email.php
+++ b/phpBB/includes/notification/method/email.php
@@ -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'];
}
/**