diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-26 14:07:35 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-26 14:07:35 +0100 |
commit | 2e42c6f54f85c5ac5b339625d04685535ac69d40 (patch) | |
tree | 8fc1c6c3118aa03e9581947d724497159f79e638 /apps/files/js | |
parent | 6c882d980681882134a93cfbb367fed816dfbb53 (diff) | |
download | nextcloud-server-2e42c6f54f85c5ac5b339625d04685535ac69d40.tar.gz nextcloud-server-2e42c6f54f85c5ac5b339625d04685535ac69d40.zip |
Use HTML5 data attribute + fix undefined variable
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/publiclistview.php | 20 |
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;"; -} |