Merge "Remove Profiler::isStub()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 4 Dec 2014 07:42:27 +0000 (07:42 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 4 Dec 2014 07:42:27 +0000 (07:42 +0000)
1  2 
includes/profiler/ProfilerXhprof.php

@@@ -95,10 -95,6 +95,6 @@@ class ProfilerXhprof extends Profiler 
                $this->xhprof = new Xhprof( $params );
        }
  
-       public function isStub() {
-               return false;
-       }
        /**
         * No-op for xhprof profiling.
         *
  
                if ( $exists ) {
                        xhprof_frame_begin( $section );
 -                      return new ScopedCallback( function() use ( $section ) {
 +                      return new ScopedCallback( function() {
                                xhprof_frame_end();
                        } );
                }