https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066 --- Comment #12 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to Tomás Cohen Arazi from comment #9)
(In reply to Eric Bégin from comment #0)
Hi, maybe it is an interesting opportunity to look at adding hooks for more fine grained things. Because in that hook, it seems you will end up checking all those things (DB access). And if the hooks were added to other places like when a debarment is generated, then you would have the debarment object in context, and no DB access would be required.
Also agree with this.. it would be nice to add more specific hooks.. but I don't see that as a blocker for this one. -- You are receiving this mail because: You are watching all bug changes.