diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 14:16:29 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 18:00:16 +0200 |
commit | 1385b1ec487d1ce97ca520247bc32e35b23d837b (patch) | |
tree | 55fb9e10a6c0569c3f53a2b46649a17dd65281b3 /settings | |
parent | d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (diff) | |
download | nextcloud-server-1385b1ec487d1ce97ca520247bc32e35b23d837b.tar.gz nextcloud-server-1385b1ec487d1ce97ca520247bc32e35b23d837b.zip |
Remove OC_Appconfig
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/setquota.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/setquota.php b/settings/ajax/setquota.php index affdb310291..a9012a55345 100644 --- a/settings/ajax/setquota.php +++ b/settings/ajax/setquota.php @@ -54,7 +54,7 @@ if($username) { if($quota === 'default') {//'default' as default quota makes no sense $quota='none'; } - OC_Appconfig::setValue('files', 'default_quota', $quota); + \OC::$server->getAppConfig()->setValue('files', 'default_quota', $quota); } OC_JSON::success(array("data" => array( "username" => $username , 'quota' => $quota))); |