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