From dc529b65558de104aef54357ca0372d34210aff5 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Sun, 24 Jul 2016 23:02:49 -0400 Subject: [PATCH] SectionProfiler: Remove $profileOutCallback Unused since 626aede99bf83733. Change-Id: I12c0d7900cd81d8b33b1a5a8dbe866ddd9664083 --- includes/profiler/SectionProfiler.php | 5 ----- 1 file changed, 5 deletions(-) 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 ); - }; } /** -- 2.20.1