diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-10-13 18:45:24 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-10-13 18:45:24 +0000 |
commit | 36983da764695bb516645a176156bbc8187ef41a (patch) | |
tree | 2b1ab32f6d804d90638903f75ea5a76338b36c68 /phpBB/includes | |
parent | e44dcce325d9c280caad88d36c9596f9ff5630d0 (diff) | |
download | forums-36983da764695bb516645a176156bbc8187ef41a.tar forums-36983da764695bb516645a176156bbc8187ef41a.tar.gz forums-36983da764695bb516645a176156bbc8187ef41a.tar.bz2 forums-36983da764695bb516645a176156bbc8187ef41a.tar.xz forums-36983da764695bb516645a176156bbc8187ef41a.zip |
Disable mass e-mail when e-mail is disabled. #27385
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9011 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/info/acp_email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/info/acp_email.php b/phpBB/includes/acp/info/acp_email.php index f2270892e0..4ad7bca58b 100644 --- a/phpBB/includes/acp/info/acp_email.php +++ b/phpBB/includes/acp/info/acp_email.php @@ -20,7 +20,7 @@ class acp_email_info 'title' => 'ACP_MASS_EMAIL', 'version' => '1.0.0', 'modes' => array( - 'email' => array('title' => 'ACP_MASS_EMAIL', 'auth' => 'acl_a_email', 'cat' => array('ACP_GENERAL_TASKS')), + 'email' => array('title' => 'ACP_MASS_EMAIL', 'auth' => 'acl_a_email && cfg_email_enable', 'cat' => array('ACP_GENERAL_TASKS')), ), ); } |