Merge "Fix comment in SearchEngine.php"
[lhc/web/wiklou.git] / includes / profiler / ProfilerStub.php
index 6fc74ef..3fe9cdd 100644 (file)
  * @ingroup Profiler
  */
 class ProfilerStub extends Profiler {
-       public function isStub() {
-               return true;
-       }
-
-       public function profileIn( $fn ) {
-       }
-
-       public function profileOut( $fn ) {
-       }
-
        public function scopedProfileIn( $section ) {
-               return null;
+               return null; // no-op
        }
 
        public function getFunctionStats() {
@@ -53,4 +43,10 @@ class ProfilerStub extends Profiler {
        public function getCurrentSection() {
                return '';
        }
+
+       public function logData() {
+       }
+
+       public function logDataPageOutputOnly() {
+       }
 }