summaryrefslogtreecommitdiff
path: root/includes/profiler/ProfilerStub.php
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-01 15:30:02 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-01 15:30:02 -0400
commit1de335ad3f395ca6861085393ba366a9e3fb4a0d (patch)
treef1fdd326034e05177596851be6a7127615d81498 /includes/profiler/ProfilerStub.php
parent9c75fa8ff6d4d38ef552c00fef5969fb154765e8 (diff)
parentf6d65e533c62f6deb21342d4901ece24497b433e (diff)
Merge commit 'f6d65'
# Conflicts: # skins/ArchLinux/ArchLinux.php
Diffstat (limited to 'includes/profiler/ProfilerStub.php')
-rw-r--r--includes/profiler/ProfilerStub.php25
1 files changed, 4 insertions, 21 deletions
diff --git a/includes/profiler/ProfilerStub.php b/includes/profiler/ProfilerStub.php
index 1d3b65d2..244b4e4b 100644
--- a/includes/profiler/ProfilerStub.php
+++ b/includes/profiler/ProfilerStub.php
@@ -27,18 +27,11 @@
* @ingroup Profiler
*/
class ProfilerStub extends Profiler {
- public function isStub() {
- return true;
+ public function scopedProfileIn( $section ) {
+ return null; // no-op
}
- public function isPersistent() {
- return false;
- }
-
- public function profileIn( $fn ) {
- }
-
- public function profileOut( $fn ) {
+ public function getFunctionStats() {
}
public function getOutput() {
@@ -47,20 +40,10 @@ class ProfilerStub extends Profiler {
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();
+ public function logData() {
}
}