mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
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 :)
5.2 KiB
5.2 KiB