From: Domas Mituzas Date: Mon, 16 May 2011 12:50:02 +0000 (+0000) Subject: unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also,... X-Git-Tag: 1.31.0-rc.0~30130 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=a181db45879993acc2dcda794e8379e18f95a2b7;p=lhc%2Fweb%2Fwiklou.git unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also, add it to AutoLoader --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 0d2903a109..a6f34eb2e5 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -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', diff --git a/includes/profiler/ProfilerSimpleTrace.php b/includes/profiler/ProfilerSimpleTrace.php index 664a6d95cf..1e0d20456f 100644 --- a/includes/profiler/ProfilerSimpleTrace.php +++ b/includes/profiler/ProfilerSimpleTrace.php @@ -60,7 +60,7 @@ class ProfilerSimpleTrace extends ProfilerSimple { return $diff / 1024; } - function getOutput() { + function logData() { print ""; } }