[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
Wed Feb 3 13:44:53 CET 2016


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #47093|0                           |1
        is obsolete|                            |

--- Comment #22 from Marc Véron <veron at veron.ch> ---
Created attachment 47582
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47582&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