Coding style updates
Fix issues pointed out by PHP Code Sniffer. Change-Id: I31279cda12101bb0ad66f104c9cd0e11019d46f1
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -57,4 +57,4 @@ class LanguageNameIndexer extends Maintenance {
|
||||
}
|
||||
|
||||
$maintClass = 'LanguageNameIndexer';
|
||||
require_once( RUN_MAINTENANCE_IF_MAIN );
|
||||
require_once RUN_MAINTENANCE_IF_MAIN;
|
||||
|
||||
Reference in New Issue
Block a user