mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
rename 'publicListView' switch to 'disableSharing' because this is not only used for the public list view
This commit is contained in:
parent
8907bdaf7f
commit
367aadb3b7
1 changed files with 3 additions and 3 deletions
|
|
@ -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;";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue