* Added Profiler::isStub() to check if we are using a stub profiler, instead of check...
[lhc/web/wiklou.git] / includes / profiler / ProfilerStub.php
index b17e81a..5c82609 100644 (file)
@@ -20,6 +20,10 @@ class ProfilerStub extends Profiler {
                $this->haveProctitle = function_exists( 'setproctitle' );
        }
 
+       public function isStub() {
+               return true;
+       }
+
        /**
         * Begin profiling of a function
         * @param $fn string