From: Tim Starling Date: Tue, 23 Aug 2005 16:53:40 +0000 (+0000) Subject: Output tweak X-Git-Tag: 1.6.0~1832 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=7311ad68ee7a7f3ff5683a138552db996ebae0c6;p=lhc%2Fweb%2Fwiklou.git Output tweak --- diff --git a/includes/Profiling.php b/includes/Profiling.php index 634735cdff..605b10160d 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -78,13 +78,13 @@ class Profiler { } else { //if ($wgDebugProfiling) { if ($functionname == 'close') { - $message = "Profile section ended by close(): {$bit[0]}\n"; - wfDebug( $message ); + $message = "Profile section ended by close(): {$bit[0]}"; + wfDebug( "$message\n" ); $this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 ); } elseif ($bit[0] != $functionname) { - $message = "Profiling error: in({$bit[0]}), out($functionname)\n"; - wfDebug( $message ); + $message = "Profiling error: in({$bit[0]}), out($functionname)"; + wfDebug( "$message\n" ); $this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 ); } //}