Skip to content
Snippets Groups Projects
Commit 367aadb3 authored by Björn Schießle's avatar Björn Schießle
Browse files

rename 'publicListView' switch to 'disableSharing' because this is not only...

rename 'publicListView' switch to 'disableSharing' because this is not only used for the public list view
parent 8907bdaf
No related branches found
No related tags found
No related merge requests found
......@@ -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;";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment