Merge "Adding basic profiler sampling support and restored the --profiler script...
[lhc/web/wiklou.git] / includes / profiler / ProfilerStub.php
index 6de97ba..510a0a0 100644 (file)
@@ -30,16 +30,23 @@ class ProfilerStub extends Profiler {
        public function isStub() {
                return true;
        }
-       public function isPersistent() {
-               return false;
+
+       public function profileIn( $fn ) {
+       }
+
+       public function profileOut( $fn ) {
+       }
+
+       public function getFunctionStats() {
+       }
+
+       public function getOutput() {
+       }
+
+       public function close() {
+       }
+
+       public function getCurrentSection() {
+               return '';
        }
-       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(); }
 }