Remove deprecated Language::getLanguageNames()
[lhc/web/wiklou.git] / languages / Language.php
index 0bd2276..e325e69 100644 (file)
@@ -802,20 +802,6 @@ class Language {
                return $this->getMessageFromDB( "tog-$tog" );
        }
 
-       /**
-        * Get native language names, indexed by code.
-        * Only those defined in MediaWiki, no other data like CLDR.
-        * If $customisedOnly is true, only returns codes with a messages file
-        *
-        * @param bool $customisedOnly
-        *
-        * @return array
-        * @deprecated since 1.20, use fetchLanguageNames()
-        */
-       public static function getLanguageNames( $customisedOnly = false ) {
-               return self::fetchLanguageNames( null, $customisedOnly ? 'mwfile' : 'mw' );
-       }
-
        /**
         * Get translated language names. This is done on best effort and
         * by default this is exactly the same as Language::getLanguageNames.