aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.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/admin.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/admin.php')
-rw-r--r--mod/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 5d8faf424..e991fee27 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -13,7 +13,7 @@
function admin_post(&$a){
logger('admin_post', LOGGER_DEBUG);
- if((!is_site_admin()) || ($_SESSION['delegate'])) {
+ if(! is_site_admin()) {
return;
}
@@ -80,7 +80,7 @@ function admin_content(&$a) {
logger('admin_content', LOGGER_DEBUG);
- if((!is_site_admin()) || ($_SESSION['delegate'])) {
+ if(! is_site_admin()) {
return login(false);
}