r74972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74971‎ | r74972 | r74973 >
Date:22:20, 18 October 2010
Author:neilk
Status:ok
Tags:
Comment:
fixing outdated comment
Modified paths:
  • /branches/uploadwizard/extensions/UploadWizard/SpecialUploadWizard.php (modified) (history)

Diff [purge]

Index: branches/uploadwizard/extensions/UploadWizard/SpecialUploadWizard.php
@@ -38,8 +38,7 @@
3939 public function execute( $subPage ) {
4040 global $wgScriptPath, $wgLang, $wgUser, $wgOut;
4141
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
4443 // and return false
4544 if (! ( $this->isUploadAllowed() && $this->isUserUploadAllowed( $wgUser ) ) ) {
4645 return;

Status & tagging log