summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
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/files_sharing/ajax
parent8e99475886fa3fc23dd576cce7eaefd532c3fe5c (diff)
downloadnextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.tar.gz
nextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.zip
port appconfig
Diffstat (limited to 'apps/files_sharing/ajax')
-rwxr-xr-x[-rw-r--r--]apps/files_sharing/ajax/toggleresharing.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/ajax/toggleresharing.php b/apps/files_sharing/ajax/toggleresharing.php
index bd4d23ff79f..853b2bd5349 100644..100755
--- a/apps/files_sharing/ajax/toggleresharing.php
+++ b/apps/files_sharing/ajax/toggleresharing.php
@@ -3,9 +3,9 @@
OC_JSON::checkAppEnabled('files_sharing');
OC_JSON::checkAdminUser();
if ($_POST['resharing'] == true) {
- OC_Appconfig::setValue('files_sharing', 'resharing', 'yes');
+ OCP\Config::setAppValue('files_sharing', 'resharing', 'yes');
} else {
- OC_Appconfig::setValue('files_sharing', 'resharing', 'no');
+ OCP\Config::setAppValue('files_sharing', 'resharing', 'no');
}
?>