summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/dependencyinjection
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-16 20:33:13 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-17 17:41:57 +0100
commit6779bf113d27eca305661c5da67f685ddf2147df (patch)
treecf483aac5891ce370441298b16be273bfe30be69 /lib/private/appframework/dependencyinjection
parent0f535e38665f21ee92d41d19a51adec4459614bc (diff)
downloadnextcloud-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.php3
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() {