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:
Siebrand Mazeland
2013-06-17 16:44:00 +02:00
parent 9ac9163ecf
commit 4a1035dcbf
3 changed files with 8 additions and 24 deletions

View File

@@ -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();