Add hook for cleaning up data that depends on purged recentchanges rows
authorGergő Tisza <gtisza@wikimedia.org>
Mon, 1 May 2017 12:06:56 +0000 (12:06 +0000)
committerGergő Tisza <tgr.huwiki@gmail.com>
Mon, 10 Jul 2017 14:12:30 +0000 (16:12 +0200)
commit1cc6f6464eaa6dc712a30286d7d35e05774dbadc
tree027faefb9ed01987f0b75582a5455bc8b0b899b7
parentb0ae261d2cbcdd0da61a9e4bee86d3a3e53596c7
Add hook for cleaning up data that depends on purged recentchanges rows

Adds RecentChangesPurgeRows hook which gets called in the same
transaction where old recentchanges rows are purged, and gets the
list of deleted rows. Extensions which store data for joining to
recentchanges can use this to purge their own data.

Bug: T159753
Change-Id: I03f1d485a1a3004412e0859d9d878b7895c95b40
RELEASE-NOTES-1.30
docs/hooks.txt
includes/jobqueue/jobs/RecentChangesUpdateJob.php