r75056 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75055‎ | r75056 | r75057 >
Date:23:00, 19 October 2010
Author:tparscal
Status:ok
Tags:
Comment:
Fixed remaning use of $this->loaders to use the new naming of $this->loaderScripts
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderFileModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderFileModule.php
@@ -142,10 +142,10 @@
143143 * @return {string} JavaScript code to be added to startup module
144144 */
145145 public function getLoaderScript() {
146 - if ( count( $this->loaders ) == 0 ) {
 146+ if ( count( $this->loaderScripts ) == 0 ) {
147147 return false;
148148 }
149 - return self::readScriptFiles( $this->loaders );
 149+ return self::readScriptFiles( $this->loaderScripts );
150150 }
151151
152152 /**

Status & tagging log