summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-23 17:20:02 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-23 17:20:02 +0100
commitbcbcb78d6dff310bf4a033ec98a06e329676aec2 (patch)
tree4372ae76ce341a6615e54cdf7b6926064fc0e09e
parentada57de4d86078f328360f33b795af7fd215c066 (diff)
downloadnextcloud-server-bcbcb78d6dff310bf4a033ec98a06e329676aec2.tar.gz
nextcloud-server-bcbcb78d6dff310bf4a033ec98a06e329676aec2.zip
load subadmin.php to make sure that the hooks are connected
-rw-r--r--settings/ajax/removegroup.php1
-rw-r--r--settings/ajax/removeuser.php1
-rw-r--r--settings/ajax/togglegroups.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/removegroup.php b/settings/ajax/removegroup.php
index 33e1a514c88..b4af6a9c744 100644
--- a/settings/ajax/removegroup.php
+++ b/settings/ajax/removegroup.php
@@ -2,6 +2,7 @@
// Init owncloud
require_once '../../lib/base.php';
+require_once '../../lib/subadmin.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
diff --git a/settings/ajax/removeuser.php b/settings/ajax/removeuser.php
index 1e3cd2993b0..9d37c6b6537 100644
--- a/settings/ajax/removeuser.php
+++ b/settings/ajax/removeuser.php
@@ -2,6 +2,7 @@
// Init owncloud
require_once '../../lib/base.php';
+require_once '../../lib/subadmin.php';
OC_JSON::checkSubAdminUser();
OCP\JSON::callCheck();
diff --git a/settings/ajax/togglegroups.php b/settings/ajax/togglegroups.php
index 0b4fe9af4d7..d204a675588 100644
--- a/settings/ajax/togglegroups.php
+++ b/settings/ajax/togglegroups.php
@@ -2,6 +2,7 @@
// Init owncloud
require_once '../../lib/base.php';
+require_once '../../lib/subadmin.php';
OC_JSON::checkSubAdminUser();
OCP\JSON::callCheck();