summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/iappcontainer.php
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/public/appframework/iappcontainer.php
parent0f535e38665f21ee92d41d19a51adec4459614bc (diff)
downloadnextcloud-server-6779bf113d27eca305661c5da67f685ddf2147df.tar.gz
nextcloud-server-6779bf113d27eca305661c5da67f685ddf2147df.zip
add isAdmin and isInGroup methods for the group manager
Diffstat (limited to 'lib/public/appframework/iappcontainer.php')
-rw-r--r--lib/public/appframework/iappcontainer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/appframework/iappcontainer.php b/lib/public/appframework/iappcontainer.php
index 2270b17c5b7..cb75bf4026c 100644
--- a/lib/public/appframework/iappcontainer.php
+++ b/lib/public/appframework/iappcontainer.php
@@ -63,6 +63,7 @@ interface IAppContainer extends IContainer {
function isLoggedIn();
/**
+ * @deprecated use IGroupManager->isAdmin($userId)
* @return boolean
* @deprecated use the groupmanager instead to find out if the user is in
* the admin group