summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-17 21:14:09 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-17 21:41:57 +0100
commit1e7b20f61585520b183a268662aa1b09c4f469b4 (patch)
treea0088dd7fb996e8af4fb42f7b5d976c3d3995ee6 /settings
parent09f8a755ec6897eb72aa1da4eff623807201623d (diff)
downloadnextcloud-server-1e7b20f61585520b183a268662aa1b09c4f469b4.tar.gz
nextcloud-server-1e7b20f61585520b183a268662aa1b09c4f469b4.zip
Remove IAppConfig::setValue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/setquota.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/setquota.php b/settings/ajax/setquota.php
index 481f0853f96..c3fde409c00 100644
--- a/settings/ajax/setquota.php
+++ b/settings/ajax/setquota.php
@@ -71,7 +71,7 @@ if($username) {
if($quota === 'default') {//'default' as default quota makes no sense
$quota='none';
}
- \OC::$server->getAppConfig()->setValue('files', 'default_quota', $quota);
+ \OC::$server->getConfig()->setAppValue('files', 'default_quota', $quota);
}
OC_JSON::success(array("data" => array( "username" => $username , 'quota' => $quota)));