Follow-up c7df7ade694d38cddc8ec358fe0453cffd6ef379 (r3532):
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 27 Mar 2012 15:54:54 +0000 (17:54 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 27 Mar 2012 15:54:54 +0000 (17:54 +0200)
* Forgot to change that instance of __construct() to addInitialStack()

Change-Id: If639ebe9ba53206108642bd3880058e7388aaa98

includes/profiler/ProfilerSimpleTrace.php

index 784609f..3abdbe1 100644 (file)
@@ -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 ) );
                }