aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-10 20:19:17 -0700
committerfriendica <info@friendica.com>2015-03-10 20:19:17 -0700
commit844b2ae5873ea2e53bf284abe39ad7a19fe27256 (patch)
treeae8eea847d2e3a54114ff22be4b1315b047a2056 /mod/regmod.php
parent65ffd209d43a4af9d0c866465d28fde26a2bbd83 (diff)
downloadvolse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.tar.gz
volse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.tar.bz2
volse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.zip
cleanup of old delegation stuff
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index bdb794347..c0a75ef48 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -13,7 +13,7 @@ function regmod_content(&$a) {
return $o;
}
- if((!is_site_admin()) || (x($_SESSION,'submanage') && intval($_SESSION['submanage']))) {
+ if(! is_site_admin()) {
notice( t('Permission denied.') . EOL);
return '';
}