Avoid calling Block::deleteIfExpired() when not needed
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 30 Dec 2015 04:29:10 +0000 (20:29 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 30 Dec 2015 04:29:10 +0000 (20:29 -0800)
commitb3c844133a357eb882da524e936930c70502db91
treed2c826cf4c80d6d5efc01e86e0c2249489c1977f
parentedf52ea0767467f205e91aeae1664f718f9b0860
Avoid calling Block::deleteIfExpired() when not needed

Just ignore the block and let the block insert/update code
handle the logic of pruning expired conflicting blocks as
well as other expired block to other users (as is done
already).

Bug: T92357
Change-Id: Iafcae829af09ed7e8d134cd6c1b2d5bd57ea0f22
includes/Block.php