From: Siebrand Mazeland Date: Sun, 20 Apr 2008 18:52:24 +0000 (+0000) Subject: Remove getKeys(). Unused in core and extensions in SVN. X-Git-Tag: 1.31.0-rc.0~48162 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=bfc3734308cc0ad0244512abd296660680a88908;p=lhc%2Fweb%2Fwiklou.git Remove getKeys(). Unused in core and extensions in SVN. --- diff --git a/includes/MessageCache.php b/includes/MessageCache.php index 7ecec4f98d..3a11444c65 100644 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -328,22 +328,6 @@ class MessageCache { wfProfileOut( __METHOD__ ); } - /** - * Not really needed anymore - */ - function getKeys() { - global $wgContLang; - if ( !$this->mKeys ) { - $this->mKeys = array(); - $allMessages = Language::getMessagesFor( 'en' ); - foreach ( $allMessages as $key => $unused ) { - $title = $wgContLang->ucfirst( $key ); - array_push( $this->mKeys, $title ); - } - } - return $this->mKeys; - } - function replace( $title, $text ) { global $wgLocalMessageCache, $wgLocalMessageCacheSerialized, $parserMemc; global $wgMaxMsgCacheEntrySize;