https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17944
--- Comment #39 from Jonathan Druart <[email protected]> --- Alex, Please squash all the patches and resubmit, for readability ;) For the check, I think the best would be to override Koha::Object->delete from Koha::ItemType->delete (`git grep 'sub delete' Koha` for examples), and raise an exception if the item type cannot be deleted. You will need to surround the ->delete call with an eval in the pl script. Let me known if you have any questions about this suggestion. -- 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/
