r24139 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24138‎ | r24139 | r24140 >
Date:23:27, 15 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Don't override name when rejecting twice
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -406,7 +406,7 @@
407407 # Request can later be recovered
408408 $dbw->update( 'account_requests',
409409 array( 'acr_rejected' => 1, 'acr_user' => $wgUser->getID() ),
410 - array( 'acr_id' => $this->acrID ),
 410+ array( 'acr_id' => $this->acrID, 'acr_rejected' => 0 ),
411411 __METHOD__ );
412412 } else {
413413 $dbw->delete( 'account_requests', array('acr_id' => $this->acrID), __METHOD__ );

Status & tagging log