Bug 11209: Don't sent the same SMS message for the same user the same day
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 6 Nov 2013 13:56:35 +0000 (14:56 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 15:16:33 +0000 (15:16 +0000)
commit159e99f3bc90f0e9463a6e8a96ae477d762625ee
tree40ef6096d52b53c3649e858131cb9be256761445
parent0423b43b1761a9c5d86888426643d69015b15e3a
Bug 11209: Don't sent the same SMS message for the same user the same day

For PREDUE messages, one message is sent to the message_queue table for
each items in advance, meaning that the patron could receive duplicate
notices.

The SMS part for DUE and PREDUE often do not contain dynamic parts, only
a standard message.

Note that this patch *only* affects the SMS transport.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Letters.pm