summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-19 19:17:01 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-19 19:17:01 +0200
commitabb9f52dd7aea3df934d0db8d7f3218770e534f1 (patch)
tree33358418ac23137d9b2f35f744da69974d9b124e
parent6cf418f2fae60dd5f7d3dd1cf77977f6faa0dfcb (diff)
downloadnextcloud-server-abb9f52dd7aea3df934d0db8d7f3218770e534f1.tar.gz
nextcloud-server-abb9f52dd7aea3df934d0db8d7f3218770e534f1.zip
add isGroupAccessible in OC_SubAdmin
-rw-r--r--lib/subadmin.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/subadmin.php b/lib/subadmin.php
index 26cf64304db..04e6143081c 100644
--- a/lib/subadmin.php
+++ b/lib/subadmin.php
@@ -148,4 +148,11 @@ class OC_SubAdmin{
}
return false;
}
+
+ /*
+ * @brief alias for self::isSubAdminofGroup()
+ */
+ public static function isGroupAccessible($subadmin, $group){
+ return self::isSubAdminofGroup($subadmin, $group);
+ }
}