Index: trunk/extensions/UploadWizard/SpecialUploadWizard.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | * @param subpage, e.g. the "foo" in Special:UploadWizard/foo. |
37 | 37 | */ |
38 | 38 | public function execute( $subPage ) { |
39 | | - global $wgMessageCache, $wgScriptPath, $wgLang, $wgUser, $wgOut; |
| 39 | + global $wgScriptPath, $wgLang, $wgUser, $wgOut; |
40 | 40 | |
41 | 41 | // canUpload and canUserUpload have side effects; |
42 | 42 | // if we can't upload, will print error page to wgOut |
— | — | @@ -45,9 +45,6 @@ |
46 | 46 | } |
47 | 47 | |
48 | 48 | $langCode = $wgLang->getCode(); |
49 | | - |
50 | | - // XXX what does this really do?? |
51 | | - $wgMessageCache->loadAllMessages(); |
52 | 49 | |
53 | 50 | $this->setHeaders(); |
54 | 51 | $this->outputHeader(); |