unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also,...
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 16 May 2011 12:50:02 +0000 (12:50 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 16 May 2011 12:50:02 +0000 (12:50 +0000)
includes/AutoLoader.php
includes/profiler/ProfilerSimpleTrace.php

index 0d2903a..a6f34eb 100644 (file)
@@ -601,6 +601,7 @@ $wgAutoloadLocalClasses = array(
        'Profiler' => 'includes/profiler/Profiler.php',
        'ProfilerSimple' => 'includes/profiler/ProfilerSimple.php',
        'ProfilerSimpleText' => 'includes/profiler/ProfilerSimpleText.php',
+       'ProfilerSimpleTrace' => 'includes/profiler/ProfilerSimpleTrace.php',
        'ProfilerSimpleUDP' => 'includes/profiler/ProfilerSimpleUDP.php',
        'ProfilerStub' => 'includes/profiler/ProfilerStub.php',
 
index 664a6d9..1e0d204 100644 (file)
@@ -60,7 +60,7 @@ class ProfilerSimpleTrace extends ProfilerSimple {
                return $diff / 1024;
        }
 
-       function getOutput() {
+       function logData() {
                print "<!-- \n {$this->trace} \n -->";
        }
 }