r21400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21399‎ | r21400 | r21401 >
Date:04:17, 20 April 2007
Author:tstarling
Status:old
Tags:
Comment:
Fixed complete breakage of anon-only autoblocks, broken since r20436.
Modified paths:
  • /trunk/phase3/includes/Block.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -149,7 +149,7 @@
150150 }
151151
152152 # Try range block
153 - if ( $this->loadRange( $address, $killExpired, $user == 0 ) ) {
 153+ if ( $this->loadRange( $address, $killExpired, $user ) ) {
154154 if ( $user && $this->mAnonOnly ) {
155155 $this->clear();
156156 return false;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r20436*Add mHideName parameter for hiding usernamesaaron05:24, 14 March 2007