Make LocalisationCache a service
[lhc/web/wiklou.git] / maintenance / rebuildLocalisationCache.php
index 8a519e7..1f4ac85 100644 (file)
@@ -97,8 +97,7 @@ class RebuildLocalisationCache extends Maintenance {
                        [ function () {
                                MediaWikiServices::getInstance()->getResourceLoader()
                                        ->getMessageBlobStore()->clear();
-                       } ],
-                       MediaWikiServices::getInstance()->getLanguageNameUtils()
+                       } ]
                );
 
                $allCodes = array_keys( Language::fetchLanguageNames( null, 'mwfile' ) );