http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95813

Revision: 95813
Author:   demon
Date:     2011-08-30 20:55:29 +0000 (Tue, 30 Aug 2011)
Log Message:
-----------
Fixes for r94158: newlines and minor debugging typo (more silly fixmes)

Modified Paths:
--------------
    trunk/phase3/includes/profiler/Profiler.php

Modified: trunk/phase3/includes/profiler/Profiler.php
===================================================================
--- trunk/phase3/includes/profiler/Profiler.php 2011-08-30 20:53:26 UTC (rev 
95812)
+++ trunk/phase3/includes/profiler/Profiler.php 2011-08-30 20:55:29 UTC (rev 
95813)
@@ -67,7 +67,7 @@
                        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 @@
                        } 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 );
                        }
                }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to