[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
Thu Jan 21 10:35:22 CET 2016


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 47093
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47093&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

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


More information about the Koha-bugs mailing list