[Koha-bugs] [Bug 22053] Ability to disable some plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 13:02:41 CEST 2019


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

--- Comment #23 from Alex Arnaud <alex.arnaud at biblibre.com> ---
(In reply to Agustín Moyano from comment #21)
> Hello Alex, awesome job!, it works great..
> 
> Just a little question..
> 
> I noticed that disabled plugins have the "run plugin" button enabled, and
> when you click on it works.. 
> 
> shouldn't that button be disabled if you disable the entire plugin?.. or
> this bug is intended only for hookup functions?

Hello Agustín,

IMO, disabled plugins can be run and configured in the "plugins area"
(koha/plugins/*). The only thing this patch does is to prevent calls of
disabled plugins anywhere else in Koha (hooks).

I don't see any advantage of preventing uses of run or configure methods since
you can just ignore them. But a hook calls systematically all plugins
implementing a specific method and you might need that does not happen for one
of them until your are done with the configuration (for exemple) without
removing it from your server. 

Thx for testing!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list