r32800 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32799‎ | r32800 | r32801 >
Date:01:37, 5 April 2008
Author:aaron
Status:old
Tags:
Comment:
Update ipblocks table
Modified paths:
  • /trunk/extensions/Renameuser/SpecialRenameuser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php
@@ -362,6 +362,11 @@
363363 array( 'user_name' => $this->old ),
364364 __METHOD__
365365 );
 366+ // Update ipblock list name.
 367+ $dbw->update( 'ipblocks',
 368+ array( 'ipb_address' => $this->new ),
 369+ array( 'ipb_user' => $this->uid, 'ipb_address' => $this->old ),
 370+ __METHOD__ );
366371
367372 foreach( $this->tables as $table => $field ) {
368373 $dbw->update( $table,

Status & tagging log