Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | $this->addScript( Html::linkedScript( "$path?$urlAppend" ) ); |
217 | 217 | |
218 | 218 | //merge in language text (if js2 is on and we have loadGM function) |
219 | | - if( $wgEnableJS2system == true ){ |
| 219 | + if( $wgEnableJS2system ){ |
220 | 220 | $inlineMsg = jsScriptLoader::getLocalizedMsgsFromClass( $js_class ); |
221 | 221 | if( $inlineMsg != '' ) |
222 | 222 | $this->addScript( Html::inlineScript( $inlineMsg )); |