aboutsummaryrefslogtreecommitdiffstats
path: root/lib/subadmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subadmin.php')
-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);
+ }
}