From 74e5de02f19716d6df8859dd73b970e3737824b2 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 30 Aug 2011 20:55:29 +0000 Subject: [PATCH] Fixes for r94158: newlines and minor debugging typo (more silly fixmes) --- includes/profiler/Profiler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); } } -- 2.20.1