Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-04-20 18:29:42 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 10:50:22 +0300
commit72a76060bf83ea841bea4037e29b5bf11879a955 (patch)
tree6abb94e81c8e3f37761ecc3a22cf5c2d6c66e5cb /settings/Controller
parent0e5b0fcef0d63b4d4c6e3c5f0125b76d8c0088aa (diff)
Fixed settings menu entry and group deletion
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/UsersController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index 89e86ddfc8c..49db6a03923 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -220,7 +220,7 @@ class UsersController extends Controller {
$groupsInfo->setSorting($sortGroupsBy);
list($adminGroup, $groups) = $groupsInfo->get();
- if ($isAdmin) {
+ if ($this->isAdmin) {
$subAdmins = $this->groupManager->getSubAdmin()->getAllSubAdmins();
// New class returns IUser[] so convert back
$result = [];