From: Kevin Israel Date: Mon, 25 Jul 2016 03:02:49 +0000 (-0400) Subject: SectionProfiler: Remove $profileOutCallback X-Git-Tag: 1.31.0-rc.0~6262^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=dc529b65558de104aef54357ca0372d34210aff5;p=lhc%2Fweb%2Fwiklou.git SectionProfiler: Remove $profileOutCallback Unused since 626aede99bf83733. Change-Id: I12c0d7900cd81d8b33b1a5a8dbe866ddd9664083 --- diff --git a/includes/profiler/SectionProfiler.php b/includes/profiler/SectionProfiler.php index 04ec841480..65ac6e6141 100644 --- a/includes/profiler/SectionProfiler.php +++ b/includes/profiler/SectionProfiler.php @@ -46,8 +46,6 @@ class SectionProfiler { protected $collateOnly = true; /** @var array Cache of a standard broken collation entry */ protected $errorEntry; - /** @var callable Cache of a profile out callback */ - protected $profileOutCallback; /** * @param array $params @@ -55,9 +53,6 @@ class SectionProfiler { public function __construct( array $params = [] ) { $this->errorEntry = $this->getErrorEntry(); $this->collateOnly = empty( $params['trace'] ); - $this->profileOutCallback = function ( $profiler, $section ) { - $profiler->profileOutInternal( $section ); - }; } /**