Coding style updates

Fix issues pointed out by PHP Code Sniffer.

Change-Id: I31279cda12101bb0ad66f104c9cd0e11019d46f1
This commit is contained in:
Siebrand Mazeland
2013-06-17 16:48:41 +02:00
parent 48b8f11ca6
commit 7ad76c6b64
2 changed files with 3 additions and 2 deletions

View File

@@ -136,7 +136,8 @@ $wgHooks['MakeGlobalVariablesScript'][] = 'UniversalLanguageSelectorHooks::addVa
$wgAPIModules['languagesearch'] = 'ApiLanguageSearch';
$wgAPIModules['ulslocalization'] = 'ApiULSLocalization';
$wgHooks['UserGetLanguageObject'][] = 'UniversalLanguageSelectorHooks::getLanguage';
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'UniversalLanguageSelectorHooks::onSkinTemplateOutputPageBeforeExec';
$wgHooks['SkinTemplateOutputPageBeforeExec'][] =
'UniversalLanguageSelectorHooks::onSkinTemplateOutputPageBeforeExec';
$wgDefaultUserOptions['uls-preferences'] = '';
$wgHooks['GetPreferences'][] = 'UniversalLanguageSelectorHooks::onGetPreferences';

View File

@@ -57,4 +57,4 @@ class LanguageNameIndexer extends Maintenance {
}
$maintClass = 'LanguageNameIndexer';
require_once( RUN_MAINTENANCE_IF_MAIN );
require_once RUN_MAINTENANCE_IF_MAIN;