diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-17 21:10:40 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-17 21:41:56 +0100 |
commit | 09f8a755ec6897eb72aa1da4eff623807201623d (patch) | |
tree | c8072f914b1de3ebcdf373a2547303adcd8ad479 /tests/lib/Share/ShareTest.php | |
parent | ee2617d88c17165dd3a4862f2a5b98a434435430 (diff) | |
download | nextcloud-server-09f8a755ec6897eb72aa1da4eff623807201623d.tar.gz nextcloud-server-09f8a755ec6897eb72aa1da4eff623807201623d.zip |
Remove IAppConfig::getValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Share/ShareTest.php')
-rw-r--r-- | tests/lib/Share/ShareTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Share/ShareTest.php b/tests/lib/Share/ShareTest.php index e93b0f553cd..07034bef1a4 100644 --- a/tests/lib/Share/ShareTest.php +++ b/tests/lib/Share/ShareTest.php @@ -103,7 +103,7 @@ class ShareTest extends \Test\TestCase { \OC\Share\Share::registerBackend('test', 'Test\Share\Backend'); \OC_Hook::clear('OCP\\Share'); \OC::registerShareHooks(); - $this->resharing = \OC::$server->getAppConfig()->getValue('core', 'shareapi_allow_resharing', 'yes'); + $this->resharing = \OC::$server->getConfig()->getAppValue('core', 'shareapi_allow_resharing', 'yes'); \OC::$server->getAppConfig()->setValue('core', 'shareapi_allow_resharing', 'yes'); // 20 Minutes in the past, 20 minutes in the future. |