From: Chad Horohoe Date: Tue, 30 Aug 2011 20:55:29 +0000 (+0000) Subject: Fixes for r94158: newlines and minor debugging typo (more silly fixmes) X-Git-Tag: 1.31.0-rc.0~28006 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=74e5de02f19716d6df8859dd73b970e3737824b2;p=lhc%2Fweb%2Fwiklou.git Fixes for r94158: newlines and minor debugging typo (more silly fixmes) --- diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 8283226ae6..e535689155 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -67,7 +67,7 @@ class Profiler { if( is_array( $wgProfiler ) ) { if( !isset( $wgProfiler['class'] ) ) { wfDebug( __METHOD__ . " called without \$wgProfiler['class']" - . ' set, falling back to ProfilerStub for safety' ); + . " set, falling back to ProfilerStub for safety" ); $class = 'ProfilerStub'; } else { $class = $wgProfiler['class']; @@ -76,8 +76,8 @@ class Profiler { } elseif( $wgProfiler instanceof Profiler ) { self::$__instance = $wgProfiler; // back-compat } else { - wfDebug( __METHOD__ . ' called without bogus $wgProfiler setting,' - . ' falling back to ProfilerStub for safety' ); + wfDebug( __METHOD__ . ' called with bogus $wgProfiler setting,' + . " falling back to ProfilerStub for safety\n" ); self::$__instance = new ProfilerStub( $wgProfiler ); } }