Remove last bits of MediaWiki 1.19 compatibility
Compatibility with MediaWiki 1.19 had already been dropped and this hadn't been removed yet. Change-Id: I63788ef1d4a6eb87e4280ea2625579a7874eaff8
This commit is contained in:
@@ -33,11 +33,7 @@ class LanguageNameIndexer extends Maintenance {
|
||||
}
|
||||
|
||||
public function execute() {
|
||||
if ( method_exists( 'Language', 'fetchLanguageNames' ) ) {
|
||||
$languages = Language::fetchLanguageNames( null, 'all' ); // since 1.20
|
||||
} else {
|
||||
$languages = Language::getLanguageNames( false );
|
||||
}
|
||||
$languages = Language::fetchLanguageNames( null, 'all' ); // since 1.20
|
||||
|
||||
$all = array();
|
||||
$buckets = array();
|
||||
|
||||
Reference in New Issue
Block a user