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 /tests/lib/cache/file.php | |
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 'tests/lib/cache/file.php')
-rw-r--r-- | tests/lib/cache/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/cache/file.php b/tests/lib/cache/file.php index 7aa969df02c..0880e7e1282 100644 --- a/tests/lib/cache/file.php +++ b/tests/lib/cache/file.php @@ -71,7 +71,7 @@ class FileCache extends \Test_Cache { \OC_User::useBackend(new \Test\Util\User\Dummy()); //login - \OC_User::createUser('test', 'test'); + \OC::$server->getUserManager()->createUser('test', 'test'); $this->user = \OC_User::getUser(); \OC_User::setUserId('test'); |