summaryrefslogtreecommitdiffstats
path: root/lib/private/AllConfig.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-17 21:03:04 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-17 21:03:04 +0100
commitee2617d88c17165dd3a4862f2a5b98a434435430 (patch)
treeba8c045a7b82e81ae4554a3d29e71694258bf2ef /lib/private/AllConfig.php
parent6e29b8731e25526442d9b878a5a6ae75afc4075e (diff)
downloadnextcloud-server-ee2617d88c17165dd3a4862f2a5b98a434435430.tar.gz
nextcloud-server-ee2617d88c17165dd3a4862f2a5b98a434435430.zip
Simple IAppConfig deprecations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AllConfig.php')
-rw-r--r--lib/private/AllConfig.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php
index f74a2f943d5..07ba8335ee4 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) {
- return \OC::$server->getAppConfig()->getKeys($appName);
+ \OC::$server->query(\OC\AppConfig::class)->getKeys($appName);
}
/**
@@ -185,7 +185,7 @@ class AllConfig implements \OCP\IConfig {
* @param string $key the key of the value, under which it was saved
*/
public function deleteAppValue($appName, $key) {
- \OC::$server->getAppConfig()->deleteKey($appName, $key);
+ \OC::$server->query(\OC\AppConfig::class)->deleteKey($appName, $key);
}
/**
@@ -194,7 +194,7 @@ class AllConfig implements \OCP\IConfig {
* @param string $appName the appName the configs are stored under
*/
public function deleteAppValues($appName) {
- \OC::$server->getAppConfig()->deleteApp($appName);
+ \OC::$server->query(\OC\AppConfig::class)->deleteApp($appName);
}