Made ProfilerStub return null instead of a dummy ScopedCallback
[lhc/web/wiklou.git] / includes / profiler / ProfilerStub.php
index 5580f94..1d04536 100644 (file)
@@ -28,7 +28,7 @@
  */
 class ProfilerStub extends Profiler {
        public function scopedProfileIn( $section ) {
-               return new ScopedCallback( null ); // no-op
+               return null; // no-op
        }
 
        public function getFunctionStats() {