summaryrefslogtreecommitdiffstats
path: root/lib/private/allconfig.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-27 17:05:19 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-08 22:29:42 +0100
commitb01c59b2249d9624c9ff8df5d8db22039b845204 (patch)
tree7fad9e106ba7327998ed88a9b55fe3ee13d4f9aa /lib/private/allconfig.php
parentd6da627eb44444618e5cd9ee29ef2cc4eacb0993 (diff)
downloadnextcloud-server-b01c59b2249d9624c9ff8df5d8db22039b845204.tar.gz
nextcloud-server-b01c59b2249d9624c9ff8df5d8db22039b845204.zip
use old methods and redirect in deprecated methods
Diffstat (limited to 'lib/private/allconfig.php')
-rw-r--r--lib/private/allconfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php
index 295fb8b7668..e06879d4723 100644
--- a/lib/private/allconfig.php
+++ b/lib/private/allconfig.php
@@ -106,7 +106,7 @@ class AllConfig implements \OCP\IConfig {
* @param string $value the value that you want to store
*/
public function setUserValue($userId, $appName, $key, $value) {
- \OCP\Config::setUserValue($userId, $appName, $key, $value);
+ \OC_Preferences::setValue($userId, $appName, $key, $value);
}
/**
@@ -119,7 +119,7 @@ class AllConfig implements \OCP\IConfig {
* @return string
*/
public function getUserValue($userId, $appName, $key, $default = '') {
- return \OCP\Config::getUserValue($userId, $appName, $key, $default);
+ return \OC_Preferences::getValue($userId, $appName, $key, $default);
}
/**