diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-16 13:27:45 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-16 18:39:11 +0100 |
commit | 55532f19d90b40f7f46354b92a5322676729ba7e (patch) | |
tree | c29ee88dbb789c7c0aa9c9f1c08fccef27272d7f /lib/private/legacy/util.php | |
parent | a159d7c28c483a2b77e2f533795f6d6d1ec720fd (diff) | |
download | nextcloud-server-55532f19d90b40f7f46354b92a5322676729ba7e.tar.gz nextcloud-server-55532f19d90b40f7f46354b92a5322676729ba7e.zip |
Cleanup OC_User and OCP\User
* mainly removes deprecated methods and old static code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r-- | lib/private/legacy/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index aaedd88a7ff..ca7cc1dc5cf 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -274,7 +274,7 @@ class OC_Util { self::initLocalStorageRootFS(); } - if ($user != '' && !OCP\User::userExists($user)) { + if ($user != '' && !\OC::$server->getUserManager()->userExists($user)) { \OC::$server->getEventLogger()->end('setup_fs'); return false; } |