MantisBT: master-1.2.x 0737f330

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-11-29 05:15 master-1.2.x 3be57b7b
Affected Issues  0015248: The order of sending emails is inverted when using cron
Changeset

Make email_send_all() send older queued messages first

To achieve this, a new optional parameter was added to function
email_queue_get_ids() to specify the desired sort order (defaults to
'DESC' to ensure no change in behavior).

email_send_all() now retrieves the list of emails to send in ascending
order.

Fixes 0015248

mod - core/email_api.php Diff File
mod - core/email_queue_api.php Diff File