From 835911bce5cf8da9ce6d4021f0836b11d6b97d31 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma <rullzer@owncloud.com> Date: Thu, 17 Dec 2015 15:10:11 +0100 Subject: Removed deprecated private OC_User::createUser All function calls are replaced with the recommended (which was already the body of the function). --- apps/files_trashbin/tests/trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin') 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 } -- cgit v1.2.3