r15492 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15491‎ | r15492 | r15493 >
Date:09:02, 10 July 2006
Author:tstarling
Status:old
Tags:
Comment:
Turn off ipb_create_account for user blocks.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-ipb_anon_only.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-ipb_anon_only.sql
@@ -33,8 +33,8 @@
3434 ) TYPE=InnoDB;
3535
3636 INSERT IGNORE INTO /*$wgDBprefix*/ipblocks_newunique
37 - (ipb_id, ipb_address, ipb_user, ipb_by, ipb_reason, ipb_timestamp, ipb_auto, ipb_expiry, ipb_range_start, ipb_range_end)
38 - SELECT ipb_id, ipb_address, ipb_user, ipb_by, ipb_reason, ipb_timestamp, ipb_auto, ipb_expiry, ipb_range_start, ipb_range_end
 37+ (ipb_id, ipb_address, ipb_user, ipb_by, ipb_reason, ipb_timestamp, ipb_auto, ipb_expiry, ipb_range_start, ipb_range_end, ipb_anon_only, ipb_create_account)
 38+ SELECT ipb_id, ipb_address, ipb_user, ipb_by, ipb_reason, ipb_timestamp, ipb_auto, ipb_expiry, ipb_range_start, ipb_range_end, 0 , ipb_user=0
3939 FROM /*$wgDBprefix*/ipblocks;
4040
4141 DROP TABLE IF EXISTS /*$wgDBprefix*/ipblocks_old;