r70989 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70988‎ | r70989 | r70990 >
Date:20:39, 12 August 2010
Author:neilk
Status:deferred
Tags:
Comment:
according to Nikerabbit, this is unnecessary
Modified paths:
  • /trunk/extensions/UploadWizard/SpecialUploadWizard.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/SpecialUploadWizard.php
@@ -35,7 +35,7 @@
3636 * @param subpage, e.g. the "foo" in Special:UploadWizard/foo.
3737 */
3838 public function execute( $subPage ) {
39 - global $wgMessageCache, $wgScriptPath, $wgLang, $wgUser, $wgOut;
 39+ global $wgScriptPath, $wgLang, $wgUser, $wgOut;
4040
4141 // canUpload and canUserUpload have side effects;
4242 // if we can't upload, will print error page to wgOut
@@ -45,9 +45,6 @@
4646 }
4747
4848 $langCode = $wgLang->getCode();
49 -
50 - // XXX what does this really do??
51 - $wgMessageCache->loadAllMessages();
5249
5350 $this->setHeaders();
5451 $this->outputHeader();

Status & tagging log