From 23173684ee0c83be6aa603af49e53b47e6682cb1 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 30 Sep 2015 22:47:09 -0700 Subject: [PATCH] Various getHTMLDebugLog() cleanups * Removed used Entering/Exiting stuff * Removed bogus empty entry on the first line Change-Id: I0ade132e04d745a21f4ec9fdd52a43b10d85e4d3 --- includes/debug/MWDebug.php | 48 ++++---------------------------------- 1 file changed, 5 insertions(+), 43 deletions(-) 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; } -- 2.20.1