Remove unnecessary ajax file from files_sharing

remotes/origin/stable45
Michael Gapczynski 14 years ago
parent 1e2ba8398d
commit c53310e49b
  1. 11
      apps/files_sharing/ajax/togglesharewitheveryone.php

@ -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…
Cancel
Save