diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-09 19:09:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 19:09:22 -0600 |
commit | c38f87e799c93942c79dfe972b74fa3c2860793d (patch) | |
tree | 1f9cd5133b1e1868bceeec5f43ee6b4ea74fb1fe /settings | |
parent | 8904fb1cf3ececa210e4835fd2c0758530db3249 (diff) | |
parent | a5ba1f78033b3ebe69c771fb33c1217a60494728 (diff) | |
download | nextcloud-server-c38f87e799c93942c79dfe972b74fa3c2860793d.tar.gz nextcloud-server-c38f87e799c93942c79dfe972b74fa3c2860793d.zip |
Merge pull request #3690 from nextcloud/cleanup-legacy-groups-class
Remove legacy class OC_Group and OC_User
Diffstat (limited to 'settings')
-rw-r--r-- | settings/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php index 1b0f4f7b8e8..1986592af75 100644 --- a/settings/users.php +++ b/settings/users.php @@ -40,7 +40,7 @@ OC_Util::checkSubAdminUser(); \OC::$server->getNavigationManager()->setActiveEntry('core_users'); $userManager = \OC::$server->getUserManager(); -$groupManager = \OC_Group::getManager(); +$groupManager = \OC::$server->getGroupManager(); // Set the sort option: SORT_USERCOUNT or SORT_GROUPNAME $sortGroupsBy = \OC\Group\MetaData::SORT_USERCOUNT; |