]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
UserEmailSummaryHandler: Update notice-fetching logic
authorJoshua Judson Rosen <rozzin@geekspace.com>
Mon, 24 Nov 2014 04:03:14 +0000 (23:03 -0500)
committerJoshua Judson Rosen <rozzin@geekspace.com>
Mon, 24 Nov 2014 04:28:28 +0000 (23:28 -0500)
commitbf0f22744da62498e648de992df6528d9973da8b
tree0ff3c99c7e0e2c5aec64b987ea12dff2b4524378
parent2f506dde28f008c6efd25664b69aecd9a170f608
UserEmailSummaryHandler: Update notice-fetching logic

InboxNoticeStream::getNotices() no longer returns an ArrayWrapper;
just fetch notices normally via $notice->fetch(), so that
we can actually get the top notice-ID and update email_summary_status
accordingly--and not mail about the same notices repeatedly.
plugins/EmailSummary/lib/useremailsummaryhandler.php