Forgot to remove error log messages...
This commit is contained in:
parent
b369adbd94
commit
7d9587bab3
|
@ -4,12 +4,9 @@ require_once('../../../lib/base.php');
|
||||||
|
|
||||||
OC_JSON::checkAppEnabled('files_sharing');
|
OC_JSON::checkAppEnabled('files_sharing');
|
||||||
OC_JSON::checkAdminUser();
|
OC_JSON::checkAdminUser();
|
||||||
error_log($_POST['resharing']);
|
|
||||||
if ($_POST['resharing'] == true) {
|
if ($_POST['resharing'] == true) {
|
||||||
error_log("enabling");
|
|
||||||
OC_Appconfig::setValue('files_sharing', 'resharing', 'yes');
|
OC_Appconfig::setValue('files_sharing', 'resharing', 'yes');
|
||||||
} else {
|
} else {
|
||||||
error_log("disabling");
|
|
||||||
OC_Appconfig::setValue('files_sharing', 'resharing', 'no');
|
OC_Appconfig::setValue('files_sharing', 'resharing', 'no');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue