From 47b13d184cbc11a1893a59fb2bfd07da5acd80b6 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 17 Oct 2010 19:04:05 +0000 Subject: [PATCH] Move profiler stuff to own folder, updater AutoLoader to match ProfilerSimpleTrace isn't in AutoLoader. Neither is ProfilerStub Profiler also says " * This file is only included if profiling is enabled"... --- includes/AutoLoader.php | 8 ++++---- includes/{ => profiler}/Profiler.php | 0 includes/{ => profiler}/ProfilerSimple.php | 0 includes/{ => profiler}/ProfilerSimpleText.php | 0 includes/{ => profiler}/ProfilerSimpleTrace.php | 0 includes/{ => profiler}/ProfilerSimpleUDP.php | 0 includes/{ => profiler}/ProfilerStub.php | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename includes/{ => profiler}/Profiler.php (100%) rename includes/{ => profiler}/ProfilerSimple.php (100%) rename includes/{ => profiler}/ProfilerSimpleText.php (100%) rename includes/{ => profiler}/ProfilerSimpleTrace.php (100%) rename includes/{ => profiler}/ProfilerSimpleUDP.php (100%) rename includes/{ => profiler}/ProfilerStub.php (100%) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 07b4fff8fb..41a95c3eb6 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -183,10 +183,10 @@ $wgAutoloadLocalClasses = array( 'PoolCounterWork' => 'includes/PoolCounter.php', 'Preferences' => 'includes/Preferences.php', 'PrefixSearch' => 'includes/PrefixSearch.php', - 'Profiler' => 'includes/Profiler.php', - 'ProfilerSimple' => 'includes/ProfilerSimple.php', - 'ProfilerSimpleText' => 'includes/ProfilerSimpleText.php', - 'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php', + 'Profiler' => 'includes/profiler/Profiler.php', + 'ProfilerSimple' => 'includes/profiler/ProfilerSimple.php', + 'ProfilerSimpleText' => 'includes/profiler/ProfilerSimpleText.php', + 'ProfilerSimpleUDP' => 'includes/profiler/ProfilerSimpleUDP.php', 'ProtectionForm' => 'includes/ProtectionForm.php', 'QueryPage' => 'includes/QueryPage.php', 'QuickTemplate' => 'includes/SkinTemplate.php', diff --git a/includes/Profiler.php b/includes/profiler/Profiler.php similarity index 100% rename from includes/Profiler.php rename to includes/profiler/Profiler.php diff --git a/includes/ProfilerSimple.php b/includes/profiler/ProfilerSimple.php similarity index 100% rename from includes/ProfilerSimple.php rename to includes/profiler/ProfilerSimple.php diff --git a/includes/ProfilerSimpleText.php b/includes/profiler/ProfilerSimpleText.php similarity index 100% rename from includes/ProfilerSimpleText.php rename to includes/profiler/ProfilerSimpleText.php diff --git a/includes/ProfilerSimpleTrace.php b/includes/profiler/ProfilerSimpleTrace.php similarity index 100% rename from includes/ProfilerSimpleTrace.php rename to includes/profiler/ProfilerSimpleTrace.php diff --git a/includes/ProfilerSimpleUDP.php b/includes/profiler/ProfilerSimpleUDP.php similarity index 100% rename from includes/ProfilerSimpleUDP.php rename to includes/profiler/ProfilerSimpleUDP.php diff --git a/includes/ProfilerStub.php b/includes/profiler/ProfilerStub.php similarity index 100% rename from includes/ProfilerStub.php rename to includes/profiler/ProfilerStub.php -- 2.20.1