r26479 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26478‎ | r26479 | r26480 >
Date:15:29, 7 October 2007
Author:aaron
Status:old
Tags:
Comment:
*Make block check more appropriate
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -16,7 +16,7 @@
1717 function execute( $subpage ) {
1818 global $wgUser, $wgOut, $wgRequest, $action, $wgUseRealNamesOnly;
1919
20 - if( $wgUser->isBlocked() ) {
 20+ if( $wgUser->isBlockedFromCreateAccount() ) {
2121 $wgOut->blockedPage();
2222 return;
2323 }

Status & tagging log