From: Chad Horohoe Date: Tue, 9 Dec 2014 19:06:10 +0000 (-0800) Subject: Remove $logType and $visible, leftover from before output refactoring X-Git-Tag: 1.31.0-rc.0~13039 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=9d2c050683325086ddbf9aea7b702c55ee20cbf2;p=lhc%2Fweb%2Fwiklou.git Remove $logType and $visible, leftover from before output refactoring Change-Id: I4d320b27471608d38b65c14c132d45c6ce3e94a8 --- 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(); }