summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-04-25 11:54:16 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-04-25 11:54:16 -0400
commit7d9587bab339fac0f8789d57180520a7d8e0a85c (patch)
tree067dd469a724a98d17d00a76a199325c9935920e
parentb369adbd9487496d799cf04f66fcc72a002ccda5 (diff)
downloadnextcloud-server-7d9587bab339fac0f8789d57180520a7d8e0a85c.tar.gz
nextcloud-server-7d9587bab339fac0f8789d57180520a7d8e0a85c.zip
Forgot to remove error log messages...
-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');
}