https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40984

--- Comment #6 from Marcel de Rooy <[email protected]> ---
I just stumbled over the need of this patch in 24.11 again.
But I need the authtypecode in the delete message.
And I am seeing this:

+    my $authority = $action ne 'delete' ?
Koha::Authorities->find($authority_id) : undef;

So we still pass only the authid to the plugin. And I need at least the type.
But even better would be passing the auth object (that we already have in
DelAuthority btw) to _after_authority_action_hooks. We could do similar in
AddAuthority which removes the need of looking it up again in
_after_authority_action_hooks itself.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to