r32871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32870‎ | r32871 | r32872 >
Date:18:58, 6 April 2008
Author:catrope
Status:old
Tags:
Comment:
Declare $html more cleanly.
Modified paths:
  • /trunk/extensions/Woopra/Woopra.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Woopra/Woopra.php
@@ -30,9 +30,9 @@
3131
3232 function fnWoopraJavascript($out)
3333 {
34 - global $wgUser, $wgWoopraSitekey, $html;
 34+ global $wgUser, $wgWoopraSitekey;
3535
36 - $html .= "<script type=\"text/javascript\">\r\n";
 36+ $html = "<script type=\"text/javascript\">\r\n";
3737 $html .= "woopra_id = '" . $wgWoopraSitekey . "';\r\n";
3838
3939 if (!$wgUser->isAnon())

Status & tagging log