[Koha-bugs] [Bug 23191] Administrators should be able to install plugins from the command line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 24 16:02:23 CEST 2019


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

--- Comment #5 from Alex Arnaud <alex.arnaud at biblibre.com> ---
(In reply to M. Tompsett from comment #4)
> (In reply to Alex Arnaud from comment #3)
> > Script install already installed plugins. Means that the install method is
> > called again. Not safe IMO.
> 
> In the InstallPlugins method there is this line of code:
>     Koha::Plugins::Methods->search({ plugin_class => $plugin_class
> })->delete();
> 
> You can call InstallPlugins as many times as you want, because it is
> reinstall the second time.

Good!

I was worried about script output, but i seems that InstallPlugins only reset
plugin methods.

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


More information about the Koha-bugs mailing list