Bug 15632: Koha::Patron::Messages - Be sure add and delete will log
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jan 2016 17:56:07 +0000 (17:56 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 21:22:12 +0000 (21:22 +0000)
commitb842a08589427e628b609d779fc665613eb3c9ba
tree087f5ee50b5497a1de857eca50d84bf8cf522be4
parentdd31253441d99c4b2a2feba6d505c6a44e5584ce
 Bug 15632: Koha::Patron::Messages - Be sure add and delete will log

If the pref BorrowersLog is on, the store and delete method should log
into the action_logs table.
Easy to do by overloading them.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Koha/Patron/Message.pm
t/db_dependent/Koha/Patron/Messages.t