X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fprofiler%2FProfilerStub.php;h=1d3b65d261870d59405c6067572b1f29600bc7ff;hb=2664c2ab0168a0eec21db72532b3dc2c05468912;hp=7b310c1364fb68b23badbd5e8fa5d29a371725de;hpb=a08177050075e9e13fe78490a6c4d0d887f5d448;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/ProfilerStub.php b/includes/profiler/ProfilerStub.php index 7b310c1364..1d3b65d261 100644 --- a/includes/profiler/ProfilerStub.php +++ b/includes/profiler/ProfilerStub.php @@ -30,16 +30,37 @@ class ProfilerStub extends Profiler { public function isStub() { return true; } + public function isPersistent() { return false; } - public function profileIn( $fn ) {} - public function profileOut( $fn ) {} - public function getOutput() {} - public function close() {} - public function logData() {} - public function getCurrentSection() { return ''; } - public function transactionWritingIn( $server, $db ) {} - public function transactionWritingOut( $server, $db ) {} - public function getRawData() { return array(); } + + public function profileIn( $fn ) { + } + + public function profileOut( $fn ) { + } + + public function getOutput() { + } + + public function close() { + } + + public function logData() { + } + + public function getCurrentSection() { + return ''; + } + + public function transactionWritingIn( $server, $db, $id = '' ) { + } + + public function transactionWritingOut( $server, $db, $id = '' ) { + } + + public function getRawData() { + return array(); + } }