summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-28 09:57:09 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-28 09:57:09 -0400
commitc53310e49b2da37bb6d4193e2aa540596fe95658 (patch)
treed95ca8849e943bc9b4b14ef9c1a1c2177b542936 /apps/files_sharing/ajax
parent1e2ba8398d9f7df8dc38a425b31a37a2f3fe7f0a (diff)
downloadnextcloud-server-c53310e49b2da37bb6d4193e2aa540596fe95658.tar.gz
nextcloud-server-c53310e49b2da37bb6d4193e2aa540596fe95658.zip
Remove unnecessary ajax file from files_sharing
Diffstat (limited to 'apps/files_sharing/ajax')
-rw-r--r--apps/files_sharing/ajax/togglesharewitheveryone.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/files_sharing/ajax/togglesharewitheveryone.php b/apps/files_sharing/ajax/togglesharewitheveryone.php
deleted file mode 100644
index 96c43711cb5..00000000000
--- a/apps/files_sharing/ajax/togglesharewitheveryone.php
+++ /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