Fixed remaning use of $this->loaders to use the new naming of $this->loaderScripts
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 19 Oct 2010 23:00:52 +0000 (23:00 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 19 Oct 2010 23:00:52 +0000 (23:00 +0000)
includes/resourceloader/ResourceLoaderFileModule.php

index bcf750d..0fc3a1d 100644 (file)
@@ -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 );
        }
 
        /**