mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-14 19:14:41 +00:00
Remove some commented-out code commited by accident in r110794.
This commit is contained in:
parent
0ac1a47dbb
commit
26988117ca
Notes:
vvv
2012-02-06 22:00:31 +00:00
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue