summaryrefslogtreecommitdiff
path: root/inc/confutils.php
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-05-05 16:23:56 +0200
committerMichael Klier <chi@chimeric.de>2008-05-05 16:23:56 +0200
commit8c286148aa343a95ff3585b4e7bcde9f60e7b6b2 (patch)
treeb42f721610384c5ef27b84ae58fb38c88ceafc1a /inc/confutils.php
parentdd6510bdf83849e278d3ad7a01b9fa180398c916 (diff)
downloadrpg-8c286148aa343a95ff3585b4e7bcde9f60e7b6b2.tar.gz
rpg-8c286148aa343a95ff3585b4e7bcde9f60e7b6b2.tar.bz2
actionOK() should honour
darcs-hash:20080505142356-23886-9d3b1f1512a94acc241a01af0d3a9f9053783f3c.gz
Diffstat (limited to 'inc/confutils.php')
-rw-r--r--inc/confutils.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/confutils.php b/inc/confutils.php
index bf1791e76..c18b92a02 100644
--- a/inc/confutils.php
+++ b/inc/confutils.php
@@ -180,6 +180,10 @@ function actionOK($action){
$disabled = array_map('trim',$disabled);
if(isset($conf['openregister']) && !$conf['openregister']) $disabled[] = 'register';
if(isset($conf['resendpasswd']) && !$conf['resendpasswd']) $disabled[] = 'resendpwd';
+ if(isset($conf['subscribers']) && !$conf['subscribers']) {
+ $disabled[] = 'subscribe';
+ $disabled[] = 'subscribens';
+ }
$disabled = array_unique($disabled);
}