diff options
author | Chad Horohoe <chadh@wikimedia.org> | 2014-12-09 11:06:10 -0800 |
---|---|---|
committer | BryanDavis <bdavis@wikimedia.org> | 2014-12-09 19:10:42 +0000 |
commit | 9d2c050683325086ddbf9aea7b702c55ee20cbf2 (patch) | |
tree | a282ae7f6d7376a620894970c97b133584407b40 /includes/profiler/ProfilerXhprof.php | |
parent | 84b263583edf2b4e2ec8c5b9cb9218751bc0c2b6 (diff) | |
download | mediawikicore-9d2c050683325086ddbf9aea7b702c55ee20cbf2.tar.gz mediawikicore-9d2c050683325086ddbf9aea7b702c55ee20cbf2.zip |
Remove $logType and $visible, leftover from before output refactoring
Change-Id: I4d320b27471608d38b65c14c132d45c6ce3e94a8
Diffstat (limited to 'includes/profiler/ProfilerXhprof.php')
-rw-r--r-- | includes/profiler/ProfilerXhprof.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/includes/profiler/ProfilerXhprof.php b/includes/profiler/ProfilerXhprof.php index 5603aa5d1dda..a40c44ab60b7 100644 --- a/includes/profiler/ProfilerXhprof.php +++ b/includes/profiler/ProfilerXhprof.php @@ -71,32 +71,11 @@ 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(); } |