cleanup of old delegation stuff

This commit is contained in:
friendica
2015-03-10 20:19:17 -07:00
parent 65ffd209d4
commit 844b2ae587
6 changed files with 5 additions and 152 deletions

View File

@@ -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);
}