r80965 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80964‎ | r80965 | r80966 >
Date:14:55, 25 January 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed useless call to $wgMessageCache->loadAllMessages()
Modified paths:
  • /trunk/extensions/Interlanguage/Interlanguage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Interlanguage/Interlanguage.php
@@ -148,7 +148,7 @@
149149 * @param $editPage - standard EditPage object.
150150 */
151151 function pageLinks( $editPage ) {
152 - global $wgInterlanguageExtensionInterwiki, $wgMessageCache, $wgTitle;
 152+ global $wgInterlanguageExtensionInterwiki, $wgTitle;
153153
154154 if( count( $this->pageLinks )) {
155155 $pagelinks = $this->pageLinks;
@@ -166,7 +166,6 @@
167167 }
168168 }
169169
170 - $wgMessageCache->loadAllMessages(); //Why?
171170 $ple = wfMsg( 'interlanguage-pagelinksexplanation' );
172171
173172 $res = <<<THEEND

Status & tagging log