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 | |
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')
-rw-r--r-- | apps/files/tests/service/tagservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/service/tagservice.php b/apps/files/tests/service/tagservice.php index 36da3edc61e..a34bd05afcc 100644 --- a/apps/files/tests/service/tagservice.php +++ b/apps/files/tests/service/tagservice.php @@ -54,7 +54,7 @@ class TagServiceTest extends \Test\TestCase { protected function setUp() { parent::setUp(); $this->user = $this->getUniqueId('user'); - \OC_User::createUser($this->user, 'test'); + \OC::$server->getUserManager()->createUser($this->user, 'test'); \OC_User::setUserId($this->user); \OC_Util::setupFS($this->user); /** |