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 /lib/private/AllConfig.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 'lib/private/AllConfig.php')
-rw-r--r-- | lib/private/AllConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php index 07ba8335ee4..601a5f113dc 100644 --- a/lib/private/AllConfig.php +++ b/lib/private/AllConfig.php @@ -152,7 +152,7 @@ class AllConfig implements \OCP\IConfig { * @return string[] the keys stored for the app */ public function getAppKeys($appName) { - \OC::$server->query(\OC\AppConfig::class)->getKeys($appName); + return \OC::$server->query(\OC\AppConfig::class)->getKeys($appName); } /** @@ -175,7 +175,7 @@ class AllConfig implements \OCP\IConfig { * @return string the saved value */ public function getAppValue($appName, $key, $default = '') { - return \OC::$server->getAppConfig()->getValue($appName, $key, $default); + return \OC::$server->query(\OC\AppConfig::class)->getValue($appName, $key, $default); } /** |