* removed "== true"
authorMichael Dale <dale@users.mediawiki.org>
Thu, 17 Sep 2009 15:50:07 +0000 (15:50 +0000)
committerMichael Dale <dale@users.mediawiki.org>
Thu, 17 Sep 2009 15:50:07 +0000 (15:50 +0000)
includes/OutputPage.php

index 1e8da8c..8fa8fd0 100644 (file)
@@ -215,7 +215,7 @@ class OutputPage {
                                $this->addScript( Html::linkedScript( "$path?$urlAppend" ) );
 
                                //merge in language text (if js2 is on and we have loadGM function)
-                               if( $wgEnableJS2system == true ){
+                               if( $wgEnableJS2system ){
                                        $inlineMsg = jsScriptLoader::getLocalizedMsgsFromClass( $js_class );
                                        if( $inlineMsg != '' )
                                                $this->addScript( Html::inlineScript( $inlineMsg ));