r90860 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90859‎ | r90860 | r90861 >
Date:23:10, 26 June 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Follow-up r84588 CR
Modified paths:
  • /trunk/phase3/includes/Block.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -625,7 +625,7 @@
626626 $autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) );
627627
628628 $dbr = wfGetDB( DB_SLAVE );
629 - if ( $this->mTimestamp == $dbr->getInfinity() ) {
 629+ if ( $this->mExpiry == $dbr->getInfinity() ) {
630630 # Original block was indefinite, start an autoblock now
631631 $autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp );
632632 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r92350MFT to REL1_18...hashar10:27, 16 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84588Try to untangle the autoblock time logic, which made very little sense and le...happy-melon00:10, 23 March 2011

Status & tagging log