(bug 10172) Move setting the "changed since last visit" flags out of the job queue:
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 2 Mar 2009 12:15:28 +0000 (12:15 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 2 Mar 2009 12:15:28 +0000 (12:15 +0000)
commit3241ebcbcc8c16c2f2a30b91d500a86f95e4da4c
tree7782263aed25a4ac4070e5766cbb405b01f31699
parentd476aa631522cb8c595d8d4e47b8691440220d2d
(bug 10172) Move setting the "changed since last visit" flags out of the job queue:
* Move up the UPDATE query on wl_notificationtimestamp up to before scheduling the EnotifyNotifyJob
* Move up the SELECT query fetching the users to be notified to before the UPDATE, and use its result for a more efficient UPDATE
* Pass actuallyNotifyOnPageChange() and the EnotifyNotifyJob an array of user IDs
* Add UserArray::newFromIDs()
RELEASE-NOTES
includes/EnotifNotifyJob.php
includes/UserArray.php
includes/UserMailer.php