Make autoblocks update with the parent block
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Sun, 2 Jun 2013 17:36:30 +0000 (13:36 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Fri, 3 Jan 2014 09:06:52 +0000 (04:06 -0500)
commit6040f3af90740293603c83423ae4b094880c91ae
tree20266066ce82a29a34ef87ee63754bae5fa7c30f
parent120161f2b370f48fa8bab209623dbe1a558a9484
Make autoblocks update with the parent block

Change SpecialBlock so that when a block already exists, it just updates
the existing block rather than deleting and inserting a new row. Also,
Block::update() was changed to update existing autoblocks with the new
block parameters.

Bug: 48813
Change-Id: I5403f6e1d7f8f07273cd5da8068b928fdddcdfc9
includes/Block.php
includes/specials/SpecialBlock.php