Index: branches/uploadwizard/extensions/UploadWizard/SpecialUploadWizard.php |
— | — | @@ -38,8 +38,7 @@ |
39 | 39 | public function execute( $subPage ) { |
40 | 40 | global $wgScriptPath, $wgLang, $wgUser, $wgOut; |
41 | 41 | |
42 | | - // canUpload and canUserUpload have side effects; |
43 | | - // if we can't upload, will print error page to wgOut |
| 42 | + // side effects: if we can't upload, will print error page to wgOut |
44 | 43 | // and return false |
45 | 44 | if (! ( $this->isUploadAllowed() && $this->isUserUploadAllowed( $wgUser ) ) ) { |
46 | 45 | return; |