https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18795
Bouzid Fergani <bouzid.ferg...@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #95266|0 |1 is obsolete| | --- Comment #18 from Bouzid Fergani <bouzid.ferg...@inlibro.com> --- Created attachment 95464 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95464&action=edit Bug 18795: (follow-up) Check whether patrons exists before deleting history Running $patrons->anonymise_issue_history after checking patrons exists is more logical even though $patrons->anonymise_issue_history() can handle 0 patrons returned in the search. Also this way we don't have to run anonymise_issue_history() code unless needed, thus making the code finish faster. Signed-off-by: Bouzid Fergani <bouzid.ferg...@inlibro.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/