[Koha-bugs] [Bug 15632] Move the messages related code to Koha::Patron::Messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 12 20:05:19 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15632

--- Comment #31 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 48011
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48011&action=edit
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 at veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list