r15519 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15518‎ | r15519 | r15520 >
Date:05:29, 11 July 2006
Author:tstarling
Status:old
Tags:
Comment:
Fixed autoblock bug
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -1551,6 +1551,8 @@
15521552 # Just update the timestamp
15531553 $ipblock->updateTimestamp();
15541554 return;
 1555+ } else {
 1556+ $ipblock = new Block;
15551557 }
15561558
15571559 # Make a new block object with the desired properties