From bfc3734308cc0ad0244512abd296660680a88908 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 20 Apr 2008 18:52:24 +0000 Subject: [PATCH] Remove getKeys(). Unused in core and extensions in SVN. --- includes/MessageCache.php | 16 ---------------- 1 file changed, 16 deletions(-) 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; -- 2.20.1