From 1385b1ec487d1ce97ca520247bc32e35b23d837b Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 3 Jul 2015 14:16:29 +0200 Subject: Remove OC_Appconfig --- settings/ajax/setquota.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings') 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))); -- cgit v1.2.3