From a181db45879993acc2dcda794e8379e18f95a2b7 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 16 May 2011 12:50:02 +0000 Subject: [PATCH] unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also, add it to AutoLoader --- includes/AutoLoader.php | 1 + includes/profiler/ProfilerSimpleTrace.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ""; } } -- 2.20.1