summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/ajax/toggleresharing.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_sharing/ajax/toggleresharing.php b/apps/files_sharing/ajax/toggleresharing.php
index fd16b208be1..72af1eedec1 100644
--- a/apps/files_sharing/ajax/toggleresharing.php
+++ b/apps/files_sharing/ajax/toggleresharing.php
@@ -4,12 +4,9 @@ require_once('../../../lib/base.php');
OC_JSON::checkAppEnabled('files_sharing');
OC_JSON::checkAdminUser();
-error_log($_POST['resharing']);
if ($_POST['resharing'] == true) {
- error_log("enabling");
OC_Appconfig::setValue('files_sharing', 'resharing', 'yes');
} else {
- error_log("disabling");
OC_Appconfig::setValue('files_sharing', 'resharing', 'no');
}