liquid_feedback_frontend
view model/scheduled_notification_to_send.lua @ 1248:c0fd12b97d65
Changes on notifications system, newsletter support added
author | bsw |
---|---|
date | Tue Apr 05 20:40:37 2016 +0200 (2016-04-05) |
parents | |
children | 659e3eda2fad |
line source
1 ScheduledNotificationToSend = mondelefant.new_class()
2 ScheduledNotificationToSend.table = 'scheduled_notification_to_send'
4 function ScheduledNotificationToSend:get_next()
5 return self:new_selector()
6 :add_order_by("pending DESC")
7 :limit(1)
8 :optional_object_mode()
9 :exec()
10 end