summaryrefslogtreecommitdiffstats
path: root/apps/external/ajax/setsites.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 14:11:29 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 14:11:29 +0200
commitff66600bc060dd2713b88b4af88e5a0a291710e0 (patch)
treec1b796ddf938025ac1cc31d0f8414c55a31840aa /apps/external/ajax/setsites.php
parent8e99475886fa3fc23dd576cce7eaefd532c3fe5c (diff)
downloadnextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.tar.gz
nextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.zip
port appconfig
Diffstat (limited to 'apps/external/ajax/setsites.php')
-rwxr-xr-xapps/external/ajax/setsites.php2
1 files changed, 1 insertions, 1 deletions
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';
?>