From ff66600bc060dd2713b88b4af88e5a0a291710e0 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 2 May 2012 14:11:29 +0200 Subject: port appconfig --- apps/external/ajax/setsites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/external/ajax/setsites.php') diff --git a/apps/external/ajax/setsites.php b/apps/external/ajax/setsites.php index 5f36b3d13d5..c14daa258c1 100755 --- a/apps/external/ajax/setsites.php +++ b/apps/external/ajax/setsites.php @@ -19,7 +19,7 @@ for ($i = 0; $i < sizeof($_POST['site_name']); $i++) { if (sizeof($sites) == 0) OC_Appconfig::deleteKey('external', 'sites'); else - OC_Appconfig::setValue('external', 'sites', json_encode($sites)); + OCP\Config::setAppValue('external', 'sites', json_encode($sites)); echo 'true'; ?> -- cgit v1.2.3