diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 15:10:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 16:18:40 +0100 |
commit | 835911bce5cf8da9ce6d4021f0836b11d6b97d31 (patch) | |
tree | a2bdcfcb696b9142643bb7a9f5b93b68944c1191 /apps/files_trashbin/tests | |
parent | 7e44ea5da068bae204715e545b95c4852ad6283c (diff) | |
download | nextcloud-server-835911bce5cf8da9ce6d4021f0836b11d6b97d31.tar.gz nextcloud-server-835911bce5cf8da9ce6d4021f0836b11d6b97d31.zip |
Removed deprecated private OC_User::createUser
All function calls are replaced with the recommended (which was already
the body of the function).
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r-- | apps/files_trashbin/tests/trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/trashbin.php b/apps/files_trashbin/tests/trashbin.php index db7e7e6e840..e8d586816c3 100644 --- a/apps/files_trashbin/tests/trashbin.php +++ b/apps/files_trashbin/tests/trashbin.php @@ -636,7 +636,7 @@ class Test_Trashbin extends \Test\TestCase { public static function loginHelper($user, $create = false) { if ($create) { try { - \OC_User::createUser($user, $user); + \OC::$server->getUserManager()->createUser($user, $user); } catch(\Exception $e) { // catch username is already being used from previous aborted runs } |