aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-22 18:34:59 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 18:34:59 +0100
commit367aadb3b7fcb3c1d3dda0b6cdc463dfce8879a4 (patch)
tree41af8d95dc0637e963059c3c53d6ca8016c4205f /apps/files/js
parent8907bdaf7f6895c3d455b48223db5c56aebe26ac (diff)
downloadnextcloud-server-367aadb3b7fcb3c1d3dda0b6cdc463dfce8879a4.tar.gz
nextcloud-server-367aadb3b7fcb3c1d3dda0b6cdc463dfce8879a4.zip
rename 'publicListView' switch to 'disableSharing' because this is not only used for the public list view
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/publiclistview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/publiclistview.php b/apps/files/js/publiclistview.php
index 8652dabc420..f1c67aabb48 100644
--- a/apps/files/js/publiclistview.php
+++ b/apps/files/js/publiclistview.php
@@ -13,8 +13,8 @@ header("Content-type: text/javascript");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
-if ( array_key_exists('publicListView', $_) && $_['publicListView'] == true ) {
- echo "var publicListView = true;";
+if ( array_key_exists('disableSharing', $_) && $_['disableSharing'] == true ) {
+ echo "var disableSharing = true;";
} else {
- echo "var publicListView = false;";
+ echo "var disableSharing = false;";
}