From 367aadb3b7fcb3c1d3dda0b6cdc463dfce8879a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Tue, 22 Jan 2013 18:34:59 +0100
Subject: [PATCH] rename 'publicListView' switch to 'disableSharing' because
 this is not only used for the public list view

---
 apps/files/js/publiclistview.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/files/js/publiclistview.php b/apps/files/js/publiclistview.php
index 8652dabc42..f1c67aabb4 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;";
 }
-- 
GitLab