[Pkg-owncloud-commits] [owncloud] 303/394: load subadmin.php to make sure that the hooks are connected
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit bcbcb78d6dff310bf4a033ec98a06e329676aec2
Author: Björn Schießle <schiessle at owncloud.com>
Date: Wed Jan 23 17:20:02 2013 +0100
load subadmin.php to make sure that the hooks are connected
---
settings/ajax/removegroup.php | 1 +
settings/ajax/removeuser.php | 1 +
settings/ajax/togglegroups.php | 1 +
3 files changed, 3 insertions(+)
diff --git a/settings/ajax/removegroup.php b/settings/ajax/removegroup.php
index 33e1a51..b4af6a9 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 1e3cd29..9d37c6b 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 0b4fe9a..d204a67 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();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list