diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-16 20:33:13 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-17 17:41:57 +0100 |
commit | 6779bf113d27eca305661c5da67f685ddf2147df (patch) | |
tree | cf483aac5891ce370441298b16be273bfe30be69 /lib/private/appframework/dependencyinjection | |
parent | 0f535e38665f21ee92d41d19a51adec4459614bc (diff) | |
download | nextcloud-server-6779bf113d27eca305661c5da67f685ddf2147df.tar.gz nextcloud-server-6779bf113d27eca305661c5da67f685ddf2147df.zip |
add isAdmin and isInGroup methods for the group manager
Diffstat (limited to 'lib/private/appframework/dependencyinjection')
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index faab40ce246..dc57ef4c167 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -196,8 +196,7 @@ class DIContainer extends SimpleContainer implements IAppContainer{ } /** - * @deprecated use the groupmanager instead to find out if the user is in - * the admin group + * @deprecated use IGroupManager->isAdmin($userId) * @return boolean */ function isAdminUser() { |