From: Alexandre Emsenhuber Date: Tue, 27 Mar 2012 15:54:54 +0000 (+0200) Subject: Follow-up c7df7ade694d38cddc8ec358fe0453cffd6ef379 (r3532): X-Git-Tag: 1.31.0-rc.0~24111 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_modifier.php?a=commitdiff_plain;h=2c5f07549f2b1b2d96b24e6cad4c2d0ab4d6f65d;p=lhc%2Fweb%2Fwiklou.git Follow-up c7df7ade694d38cddc8ec358fe0453cffd6ef379 (r3532): * Forgot to change that instance of __construct() to addInitialStack() Change-Id: If639ebe9ba53206108642bd3880058e7388aaa98 --- diff --git a/includes/profiler/ProfilerSimpleTrace.php b/includes/profiler/ProfilerSimpleTrace.php index 784609f5ea..3abdbe1f77 100644 --- a/includes/profiler/ProfilerSimpleTrace.php +++ b/includes/profiler/ProfilerSimpleTrace.php @@ -13,9 +13,8 @@ class ProfilerSimpleTrace extends ProfilerSimple { var $trace = ""; var $memory = 0; - function __construct( $params ) { + function addInitialStack() { global $wgRequestTime, $wgRUstart; - parent::__construct( $params ); if ( !empty( $wgRequestTime ) && !empty( $wgRUstart ) ) { $this->mWorkStack[] = array( '-total', 0, $wgRequestTime, $this->getCpuTime( $wgRUstart ) ); }