diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-07-19 19:17:01 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-07-19 19:17:01 +0200 |
commit | abb9f52dd7aea3df934d0db8d7f3218770e534f1 (patch) | |
tree | 33358418ac23137d9b2f35f744da69974d9b124e | |
parent | 6cf418f2fae60dd5f7d3dd1cf77977f6faa0dfcb (diff) | |
download | nextcloud-server-abb9f52dd7aea3df934d0db8d7f3218770e534f1.tar.gz nextcloud-server-abb9f52dd7aea3df934d0db8d7f3218770e534f1.zip |
add isGroupAccessible in OC_SubAdmin
-rw-r--r-- | lib/subadmin.php | 7 |
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); + } } |