https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30939
Fridolin Somers <fridolin.som...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #136323|0 |1 is obsolete| | --- Comment #4 from Fridolin Somers <fridolin.som...@biblibre.com> --- Created attachment 136661 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136661&action=edit Bug 30939: Fix use statement for DelAuthority Without this patch, the script won't delete any unused authorities, but gives an error instead and dies: Undefined subroutine &main::DelAuthority called at ./misc/migration_tools/remove_unused_authorities.pl line 98. To test: - Run from koha-shell: ./misc/migration_tools/remove_unused_authorities.pl -t - Verify several authorities are reported as unused - ./misc/migration_tools/remove_unused_authorities.pl -c - Verify the error message is shown when the first unused authority is found and the script stops - Apply patch and rerun: ./misc/migration_tools/remove_unused_authorities.pl -t - Verify the error is gone, the script finishes and auhorities are deleted https://bugs.koha-community.org/show_bug.cgi?id=30936 Signed-off-by: David Nind <da...@davidnind.com> Signed-off-by: Fridolin Somers <fridolin.som...@biblibre.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/