nextcloud/lib/ocs
Lukas Reschke 31b1a73e1f Check if user is admin - bool
There was no "isAdminUser()" function which returned bool. This is
irritiating as there were a loooooooot of places in the code which
checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not
use a function for this?
(Especially if you consider that we might change the group name in the
future, which would lead to problems then)

Additionally, @Raydiation needed such a method for his AppFramework :)
2013-01-14 19:45:17 +01:00
..
activity.php Merge branch 'master' into ocs_api 2012-12-31 15:47:15 +00:00
cloud.php Check if user is admin - bool 2013-01-14 19:45:17 +01:00
config.php Code cleanup and add copyright info 2012-12-31 16:08:21 +00:00
person.php Merge branch 'master' into ocs_api 2012-12-31 15:47:15 +00:00
privatedata.php Merge branch 'master' into ocs_api 2012-12-31 15:47:15 +00:00
result.php Merge branch 'master' into ocs_api 2012-12-31 15:47:15 +00:00