aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-18 00:18:21 -0700
committerFriendika <info@friendika.com>2011-10-18 00:18:21 -0700
commit06096486d4f5a2260e48f5c0cf5fd5af71f30964 (patch)
tree79267a879a29cf9470576064ca54f4957db0351a /mod/admin.php
parentcc5974e6c2af2deb4702da670331107e15fa3110 (diff)
downloadvolse-hubzilla-06096486d4f5a2260e48f5c0cf5fd5af71f30964.tar.gz
volse-hubzilla-06096486d4f5a2260e48f5c0cf5fd5af71f30964.tar.bz2
volse-hubzilla-06096486d4f5a2260e48f5c0cf5fd5af71f30964.zip
hopefully solve db update issues bug #182
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/mod/admin.php b/mod/admin.php
index ebef1ccb9..f178e67f6 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -5,16 +5,9 @@
*/
require_once("include/remoteupdate.php");
-function admin_init(&$a) {
- if(!is_site_admin()) {
- notice( t('Permission denied.') . EOL);
- return;
- }
-}
-
function admin_post(&$a){
if(!is_site_admin()) {
- return login(false);
+ return;
}
// urls
@@ -672,7 +665,7 @@ function admin_page_logs(&$a){
function admin_page_remoteupdate_post(&$a) {
// this function should be called via ajax post
if(!is_site_admin()) {
- return login(false);
+ return;
}