Remove unnecessary ajax file from files_sharing

This commit is contained in:
Michael Gapczynski 2012-08-28 09:57:09 -04:00
parent 1e2ba8398d
commit c53310e49b
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
<?php
OCP\JSON::callCheck();
OCP\JSON::checkAppEnabled('files_sharing');
OCP\JSON::checkAdminUser();
if ($_POST['allowSharingWithEveryone'] == true) {
OCP\Config::setAppValue('files_sharing', 'allowSharingWithEveryone', 'yes');
} else {
OCP\Config::setAppValue('files_sharing', 'allowSharingWithEveryone', 'no');
}