aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-28 19:37:58 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-28 19:37:58 +0100
commit74f6f856289b62c69a1e12e9fc38cf6fd7b29680 (patch)
tree255d0437dd79840b9291e0d8874bd5b031fc89a3 /apps/files/js
parent232cc3211b2b312d4e32e7d0fb482a2b7affe89a (diff)
parent06c1c35ac90f7920afa637ab0b628529b4135d40 (diff)
downloadnextcloud-server-74f6f856289b62c69a1e12e9fc38cf6fd7b29680.tar.gz
nextcloud-server-74f6f856289b62c69a1e12e9fc38cf6fd7b29680.zip
merge master into filesystem
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/publiclistview.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/files/js/publiclistview.php b/apps/files/js/publiclistview.php
deleted file mode 100644
index f1c67aabb48..00000000000
--- a/apps/files/js/publiclistview.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * Copyright (c) 2013 Lukas Reschke <lukas@statuscode.ch>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-// Set the content type to Javascript
-header("Content-type: text/javascript");
-
-// Disallow caching
-header("Cache-Control: no-cache, must-revalidate");
-header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
-
-if ( array_key_exists('disableSharing', $_) && $_['disableSharing'] == true ) {
- echo "var disableSharing = true;";
-} else {
- echo "var disableSharing = false;";
-}