From bb025faa199c6ccbc53aaf26d7dc21da823107b0 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 4 Nov 2014 13:12:54 -0800 Subject: [PATCH] Remove Profiler::setInstance() This is a weird construction that only existed for dumpHTML. DumpHTML will no longer require this as of Ia38aa904. It won't work with future plans to separate profiling & profiling output Change-Id: I4d7806596fa233a2b2d1d691c8adfa68724f20f5 --- includes/profiler/Profiler.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 8acc07d1f9..8e5b98aefc 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -73,14 +73,6 @@ abstract class Profiler { return self::$__instance; } - /** - * Set the profiler to a specific profiler instance. Mostly for dumpHTML - * @param Profiler $p - */ - final public static function setInstance( Profiler $p ) { - self::$__instance = $p; - } - /** * Return whether this a stub profiler * -- 2.20.1