mirror of
https://github.com/nextcloud/server.git
synced 2026-05-21 17:45:40 -04:00
Remove unnecessary ajax file from files_sharing
This commit is contained in:
parent
1e2ba8398d
commit
c53310e49b
1 changed files with 0 additions and 11 deletions
|
|
@ -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 a new issue