refreshLinks.php: Don't wait for slaves if nothing found in a chunk
authorKevin Israel <pleasestand@live.com>
Fri, 31 Jul 2015 23:03:31 +0000 (19:03 -0400)
committerKevin Israel <pleasestand@live.com>
Sun, 2 Aug 2015 10:46:44 +0000 (06:46 -0400)
commitbe49081be6dc92a0254b412f3db519c071a35202
treee9418ce52730aa030131643849cc325ae36e36cc
parent6a1e956428adea767bba30093a64d0c2ba350bb4
refreshLinks.php: Don't wait for slaves if nothing found in a chunk

Since 40e300b8273d, the last deletion batch is no longer handled
separately, so the wfWaitForSlaves() call added in 7492e90cc6b9
should no longer be necessary.

Also moved the remaining wfWaitForSlaves() call after the DELETE
query, as is the case in most other maintenance scripts.

Change-Id: I2c3c5ce20f81aed28b4b4c7ecf4eaaca7b9791d1
maintenance/refreshLinks.php