diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 14:11:29 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 14:11:29 +0200 |
commit | ff66600bc060dd2713b88b4af88e5a0a291710e0 (patch) | |
tree | c1b796ddf938025ac1cc31d0f8414c55a31840aa /apps/files_sharing/ajax | |
parent | 8e99475886fa3fc23dd576cce7eaefd532c3fe5c (diff) | |
download | nextcloud-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.php | 4 |
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'); } ?> |