Remove deprecated profiling config parameters, clarify docs
[lhc/web/wiklou.git] / includes / profiler / output / ProfilerOutputDb.php
index ab42802..5efb3ab 100644 (file)
@@ -33,13 +33,10 @@ class ProfilerOutputDb extends ProfilerOutput {
 
        public function __construct( Profiler $collector, array $params ) {
                parent::__construct( $collector, $params );
-               global $wgProfilePerHost;
 
                // Initialize per-host profiling from config, back-compat if available
                if ( isset( $this->params['perHost'] ) ) {
                        $this->perHost = $this->params['perHost'];
-               } elseif( $wgProfilePerHost ) {
-                       $this->perHost = $wgProfilePerHost;
                }
        }