Remove some commented-out code commited by accident in r110794.

This commit is contained in:
vvv 2012-02-06 22:00:31 +00:00
parent 0ac1a47dbb
commit 26988117ca
Notes: vvv 2012-02-06 22:00:31 +00:00

View file

@ -29,10 +29,6 @@ class CodeEditorHooks {
public static function onMakeGlobalVariablesScript( &$vars, $output ) {
global $wgTitle;
// Safeguard
//if( !$wgTitle )
// return true;
$lang = self::getPageLanguage( $wgTitle );
if( $lang ) {
$vars['wgCodeEditorCurrentLanguage'] = $lang;