From: Trevor Parscal Date: Tue, 19 Oct 2010 23:00:52 +0000 (+0000) Subject: Fixed remaning use of $this->loaders to use the new naming of $this->loaderScripts X-Git-Tag: 1.31.0-rc.0~34411 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4b9b2ca889afb6816eb595c3567de32f99682d08;p=lhc%2Fweb%2Fwiklou.git Fixed remaning use of $this->loaders to use the new naming of $this->loaderScripts --- diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index bcf750de86..0fc3a1d227 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -142,10 +142,10 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { * @return {string} JavaScript code to be added to startup module */ public function getLoaderScript() { - if ( count( $this->loaders ) == 0 ) { + if ( count( $this->loaderScripts ) == 0 ) { return false; } - return self::readScriptFiles( $this->loaders ); + return self::readScriptFiles( $this->loaderScripts ); } /**