From 9d2c050683325086ddbf9aea7b702c55ee20cbf2 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 9 Dec 2014 11:06:10 -0800 Subject: [PATCH] Remove $logType and $visible, leftover from before output refactoring Change-Id: I4d320b27471608d38b65c14c132d45c6ce3e94a8 --- includes/profiler/ProfilerXhprof.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 5603aa5d1d..a40c44ab60 100644 --- a/includes/profiler/ProfilerXhprof.php +++ b/includes/profiler/ProfilerXhprof.php @@ -70,33 +70,12 @@ class ProfilerXhprof extends Profiler { */ protected $sprofiler; - /** - * Type of report to send when logData() is called. - * @var string $logType - */ - protected $logType; - - /** - * Should profile report sent to in page content be visible? - * @var bool $visible - */ - protected $visible; - /** * @param array $params * @see Xhprof::__construct() */ public function __construct( array $params = array() ) { - $params = array_merge( - array( - 'log' => 'text', - 'visible' => false - ), - $params - ); parent::__construct( $params ); - $this->logType = $params['log']; - $this->visible = $params['visible']; $this->xhprof = new Xhprof( $params ); $this->sprofiler = new SectionProfiler(); } -- 2.20.1