From a7f7f8cbcb14a2ca597b5510d2549e74b3617667 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 9 Jan 2015 10:15:30 +0100 Subject: [PATCH] Unbreak master by restoring Profiler::profile(In|Out) Keep functions in the abstract class to keep BC with SMW. To I781f62be9 Change-Id: I81d3912cbffc88ed66c9d6d787db9f1ffe3b2de3 --- includes/profiler/Profiler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 6e1278ff1f..9bb2db9948 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -118,6 +118,10 @@ abstract class Profiler { } } + // Kept BC for now, remove when possible + public function profileIn( $functionname ) {} + public function profileOut( $functionname ) {} + /** * Mark the start of a custom profiling frame (e.g. DB queries). * The frame ends when the result of this method falls out of scope. -- 2.20.1