]> git.koha-community.org Git - koha.git/commit
Bug 15632: Koha::Patron::Messages - Remove AddMessage
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jan 2016 17:56:58 +0000 (17:56 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 21:22:13 +0000 (21:22 +0000)
commitd9c983c5680a877fad0dcef383c9af2b565862e4
tree5c7bd26d1c5a18374465bce805517d3211bec6f1
parentb842a08589427e628b609d779fc665613eb3c9ba
 Bug 15632: Koha::Patron::Messages - Remove AddMessage

The AddMessage subroutine just
1. checked if all the parameters were passed
2. inserted the message in the DB
3. logged the action if needed

These 3 jobs are now done by the overloaded store method of
Koha::Patron::Message.

Test plan:
1/ Go on the "check out" page of a patron
2/ Add different new messages

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Members.pm
circ/add_message.pl