summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 13:03:37 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:18:34 +0100
commit7e44ea5da068bae204715e545b95c4852ad6283c (patch)
treecb69da44fbd42bfeae6a50d8bb46c9b5eddf9fda /settings/users.php
parentd402ac91d70ead3e2824c2630904a9add51249e3 (diff)
downloadnextcloud-server-7e44ea5da068bae204715e545b95c4852ad6283c.tar.gz
nextcloud-server-7e44ea5da068bae204715e545b95c4852ad6283c.zip
Remove deprecated function OC_User::getManager
Private deprecated function => removed Replaced all instances with suggested replacement
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php
index ccf1bcd9e1a..0e9823e73e3 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -37,7 +37,7 @@ OC_Util::checkSubAdminUser();
\OC::$server->getNavigationManager()->setActiveEntry('core_users');
-$userManager = \OC_User::getManager();
+$userManager = \OC::$server->getUserManager();
$groupManager = \OC_Group::getManager();
// Set the sort option: SORT_USERCOUNT or SORT_GROUPNAME