From: Chad Horohoe Date: Thu, 25 Jun 2009 00:00:51 +0000 (+0000) Subject: Followup to r52379: Also remove var declarations. X-Git-Tag: 1.31.0-rc.0~41221 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=e2f491f9b981670e27f87e9d92f4fabb0a045e6a;p=lhc%2Fweb%2Fwiklou.git Followup to r52379: Also remove var declarations. --- diff --git a/includes/Skin.php b/includes/Skin.php index aa11d814ab..6ff984b177 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -333,14 +333,21 @@ class Skin extends Linker { static function makeVariablesScript( $data ) { global $wgJsMimeType; - $r = array( "\n"; + # No need for ; since the script is terminating + $r[] = "\n/*]]>*/\n"; - return implode( "\n", $r ); + return implode( $r ); } /**