]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unnecessary ajax file from files_sharing
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 28 Aug 2012 13:57:09 +0000 (09:57 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 28 Aug 2012 13:57:09 +0000 (09:57 -0400)
apps/files_sharing/ajax/togglesharewitheveryone.php [deleted file]

diff --git a/apps/files_sharing/ajax/togglesharewitheveryone.php b/apps/files_sharing/ajax/togglesharewitheveryone.php
deleted file mode 100644 (file)
index 96c4371..0000000
+++ /dev/null
@@ -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');
-}
\ No newline at end of file