Add batching support to fixUserRegistration.php
authorKunal Mehta <legoktm@gmail.com>
Mon, 16 Mar 2015 20:07:33 +0000 (13:07 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 16 Mar 2015 21:12:33 +0000 (14:12 -0700)
commitea406e42cd41c596827aaebda020c06577f0bf4f
tree0447d338225d5fd2a22374f88d7687d6d8b7a16d
parent510dfa7d9a4e7ac77e7b6b03a2de22f144c4d91e
Add batching support to fixUserRegistration.php

Also:
* Add wfWaitForSlaves() call
* Clear User cache after updating registration time
* Don't use empty()
* Use the master for everything

Bug: T92890
Change-Id: I88b97befdbd78ef12eda9a9571f6943c7b232207
maintenance/fixUserRegistration.php