summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-21 14:43:09 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-21 14:43:09 +0200
commit33144a5d806bbb01208588b7eaed69c1739e9839 (patch)
treed850c73ef3e4f91b2362dba830b1da486ccf0490 /settings
parent036c8a2e56b3b53281561dfc6e20da20258086c9 (diff)
parent02af4269f27d4d7b4a3a053e23a614738293be2b (diff)
downloadnextcloud-server-33144a5d806bbb01208588b7eaed69c1739e9839.tar.gz
nextcloud-server-33144a5d806bbb01208588b7eaed69c1739e9839.zip
Merge pull request #19827 from owncloud/subadmin_non_static
Make OC_SubAdmin non static
Diffstat (limited to 'settings')
-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 d9b6ba7f721..ddabd308a50 100644
--- a/settings/controller/userscontroller.php
+++ b/settings/controller/userscontroller.php
@@ -167,7 +167,7 @@ class UsersController extends Controller {
'name' => $user->getUID(),
'displayname' => $user->getDisplayName(),
'groups' => (empty($userGroups)) ? $this->groupManager->getUserGroupIds($user) : $userGroups,
- 'subadmin' => \OC_SubAdmin::getSubAdminsGroups($user->getUID()),
+ 'subadmin' => $this->subAdminFactory->getSubAdminsOfGroups($user->getUID()),
'quota' => $this->config->getUserValue($user->getUID(), 'files', 'quota', 'default'),
'storageLocation' => $user->getHome(),
'lastLogin' => $user->getLastLogin() * 1000,