Unbreak master by restoring Profiler::profile(In|Out)
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Fri, 9 Jan 2015 09:15:30 +0000 (10:15 +0100)
committerNikerabbit <niklas.laxstrom@gmail.com>
Fri, 9 Jan 2015 09:17:13 +0000 (09:17 +0000)
Keep functions in the abstract class to keep BC with SMW.

To I781f62be9

Change-Id: I81d3912cbffc88ed66c9d6d787db9f1ffe3b2de3

includes/profiler/Profiler.php

index 6e1278f..9bb2db9 100644 (file)
@@ -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.