Remove getKeys(). Unused in core and extensions in SVN.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 20 Apr 2008 18:52:24 +0000 (18:52 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 20 Apr 2008 18:52:24 +0000 (18:52 +0000)
includes/MessageCache.php

index 7ecec4f..3a11444 100644 (file)
@@ -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;