]> git.koha-community.org Git - koha.git/commit
Bug 12426: Simplify the code adding a new subroutine GetMessage
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Sep 2015 10:35:56 +0000 (11:35 +0100)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 20:16:07 +0000 (20:16 +0000)
commit0813c72b1fe8880f319a8259e1f0b3efff80fa32
treec603824d0bcd1847962752c8e842c7cde98a8a14
parent05ea6ba1a87ec74ac3d47aebcc177c454448bcda
 Bug 12426: Simplify the code adding a new subroutine GetMessage

The C4::Letters module does not have a GetMessage subroutine, which
could be quite useful.
This patch adds it and simplifies the code added by the previous patch.
It also adds a few tests and fixes POD typos.

Note that ResendNotice only resends failed messages. This will avoid to
resend already sent messages (using an url from the browser history for
instance).

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Letters.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt
members/notices.pl
t/db_dependent/Letters.t