r77449 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77448‎ | r77449 | r77450 >
Date:01:40, 30 November 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added missing name setting when initializing modules from preloaded info.
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoader.php
@@ -229,6 +229,7 @@
230230 }
231231
232232 $this->moduleInfos[$name] = array( 'object' => $info );
 233+ $info->setName( $name );
233234 $this->modules[$name] = $info;
234235 } else {
235236 // New calling convention

Status & tagging log