[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 15:16:21 CEST 2019


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtompset at hotmail.com

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
(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.

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


More information about the Koha-bugs mailing list