Fixes for r94158: newlines and minor debugging typo (more silly fixmes)
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 30 Aug 2011 20:55:29 +0000 (20:55 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 30 Aug 2011 20:55:29 +0000 (20:55 +0000)
includes/profiler/Profiler.php

index 8283226..e535689 100644 (file)
@@ -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 );
                        }
                }