cleanupUsersWithNoId.php: Handle missing fields
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 12 Nov 2019 15:08:24 +0000 (10:08 -0500)
committerReedy <reedy@wikimedia.org>
Thu, 28 May 2020 19:25:57 +0000 (19:25 +0000)
commitc6732fe6f7d09137088212a82e930b9fb44ab66e
tree017c8c7783c1b50e2aa54576b098dd368a429bf3
parent114d21e9725a0c60a66c337b7f3e59d56bcae030
cleanupUsersWithNoId.php: Handle missing fields

The maintenance script might be run to clean up users with no ID in the
`revision` table even after the other tables have had the ID and name
fields removed (in favor of the actor ID fields). Handle this situation
so as to not error out.

Bug: T238043
Change-Id: Ie84dab4218d816106bf4b0e61f020148730220f0
(cherry picked from commit f5b78e9c313d8c54cffe61cc24fe82367b023d31)
maintenance/cleanupUsersWithNoId.php