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

--- Comment #1 from Jonathan Druart <[email protected]> 
---
Created attachment 81317
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81317&action=edit
Bug 21684: (QA follow-up) On the road to a perfect delete

Adjusting Koha::Patrons->delete:
We should not throw an exception if we get a -1 from Patron->delete.
A zero should trigger an exception. And an undef too since it is probably
a DBIx exception..

Test plan:
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to