[Pkg-owncloud-commits] [owncloud] 41/258: Check for admin user instead of subadmin

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 96bb1f7f450608823885ce7b6ecbfdb95cbdb822
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Mon Sep 8 14:34:44 2014 +0200

    Check for admin user instead of subadmin
---
 settings/ajax/excludegroups.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/ajax/excludegroups.php b/settings/ajax/excludegroups.php
index 2934a44..c3488c5 100644
--- a/settings/ajax/excludegroups.php
+++ b/settings/ajax/excludegroups.php
@@ -1,5 +1,5 @@
 <?php
-OC_JSON::checkSubAdminUser();
+OC_JSON::checkAdminUser();
 OCP\JSON::callCheck();
 
 $selectedGroups = isset($_POST["selectedGroups"]) ? json_decode($_POST["selectedGroups"]) : array();

-- 
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