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
+1 -1
View File
@@ -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 '';
}