From: Aaron Schulz Date: Thu, 1 Oct 2015 05:47:09 +0000 (-0700) Subject: Various getHTMLDebugLog() cleanups X-Git-Tag: 1.31.0-rc.0~9584 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=23173684ee0c83be6aa603af49e53b47e6682cb1;p=lhc%2Fweb%2Fwiklou.git Various getHTMLDebugLog() cleanups * Removed used Entering/Exiting stuff * Removed bogus empty entry on the first line Change-Id: I0ade132e04d745a21f4ec9fdd52a43b10d85e4d3 --- diff --git a/includes/debug/MWDebug.php b/includes/debug/MWDebug.php index 1249ebae80..841636c60e 100644 --- a/includes/debug/MWDebug.php +++ b/includes/debug/MWDebug.php @@ -455,59 +455,21 @@ class MWDebug { * @return string HTML fragment */ public static function getHTMLDebugLog() { - global $wgDebugTimestamps, $wgShowDebug; + global $wgShowDebug; if ( !$wgShowDebug ) { return ''; } - $curIdent = 0; - $ret = "\n
\nDebug data:\n"; + $ret .= '' . "\n"; return $ret; }