Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-03 15:16:29 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-03 19:00:16 +0300
commit1385b1ec487d1ce97ca520247bc32e35b23d837b (patch)
tree55fb9e10a6c0569c3f53a2b46649a17dd65281b3 /settings/ajax
parentd3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (diff)
Remove OC_Appconfig
Diffstat (limited to 'settings/ajax')
-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 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)));