Remove unnecessary ajax file from files_sharing
This commit is contained in:
parent
1e2ba8398d
commit
c53310e49b
|
@ -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');
|
||||
}
|
Loading…
Reference in New Issue