aboutsummaryrefslogtreecommitdiffstats
path: root/includes/profiler/ProfilerXhprof.php
diff options
context:
space:
mode:
authorChad Horohoe <chadh@wikimedia.org>2014-12-09 11:06:10 -0800
committerBryanDavis <bdavis@wikimedia.org>2014-12-09 19:10:42 +0000
commit9d2c050683325086ddbf9aea7b702c55ee20cbf2 (patch)
treea282ae7f6d7376a620894970c97b133584407b40 /includes/profiler/ProfilerXhprof.php
parent84b263583edf2b4e2ec8c5b9cb9218751bc0c2b6 (diff)
downloadmediawikicore-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.php21
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();
}