X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fprofiler%2FProfilerStub.php;h=1017e44660ac9ba0059c1a8e61f490b9e6da43c9;hb=f284dffc212bbf6628ccbd386cc1d2b16ace891c;hp=5580f943d80bdb79cf278e4db1d8521d1aecfab0;hpb=2a2bbf0a5ddb382d2ca1ef7618c42ce3023379d8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/ProfilerStub.php b/includes/profiler/ProfilerStub.php index 5580f943d8..1017e44660 100644 --- a/includes/profiler/ProfilerStub.php +++ b/includes/profiler/ProfilerStub.php @@ -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() { @@ -40,7 +40,9 @@ class ProfilerStub extends Profiler { public function close() { } - public function getCurrentSection() { - return ''; + public function logData() { + } + + public function logDataPageOutputOnly() { } }