Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-28 17:57:09 +0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-28 17:57:09 +0400
commitc53310e49b2da37bb6d4193e2aa540596fe95658 (patch)
treed95ca8849e943bc9b4b14ef9c1a1c2177b542936
parent1e2ba8398d9f7df8dc38a425b31a37a2f3fe7f0a (diff)
Remove unnecessary ajax file from files_sharing
-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