Skip to content
Snippets Groups Projects
Commit c53310e4 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Remove unnecessary ajax file from files_sharing

parent 1e2ba839
No related branches found
No related tags found
No related merge requests found
<?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');
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment