[Koha-bugs] [Bug 16909] Koha::Patrons - Remove checkuniquemember
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 21:19:59 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16909
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #53334|0 |1
is obsolete| |
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 53345
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53345&action=edit
Bug 16909: Koha::Patrons - Remove checkuniquemember
C4::Members::checkuniquemember was not really nicely written, was only
used once and was not covered by tests.
I think it does not make sense to keep such complexity and have this
code in the subroutine/method.
Looking at this patch it seems that what this subroutine did can be done
easily in the pl script in few lines.
Test plan:
1/ Create 2 organisations with the same "surname": you should get a
warning.
2/ Create 2 patrons (non-organisation) with the same
surname/firstname/date of birth, you should get a warning
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list