[Koha-bugs] [Bug 25303] Koha::Objects->delete should not skip overridden object class ->delete
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 28 15:12:19 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25303
--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This is more similar to bug 23185 than bug 21761.
For performance reasons I'm not so sure about always forcing a loop rather than
allowing a fast path.. I think I would rather see checks for the corresponding
'delete' method in the Koha::Things class whenever we detect that a Koha::Thing
has had a delete method added or updated.
That way, we only require the loop to take place for Koha::Objects where an
in-code delete trigger has indeed been added.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list