Closed fridobox closed 3 months ago
Hi,
A plugin should always define methods install, upgrade and uninstall, even empty. Indeed they are called and must return 1 to say OK.
See for example: https://github.com/biblibre/koha-plugin-theme-intranet-lsd/commit/5bd213ba966aa88ee875a6b4a8faf3b3eb8ca882
And: https://github.com/bywatersolutions/koha-plugin-coverflow/blob/master/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm#L201
@fridobox Thanks! Shouldn't these be documented also in the plugin development reference?
Hi,
A plugin should always define methods install, upgrade and uninstall, even empty. Indeed they are called and must return 1 to say OK.
See for example: https://github.com/biblibre/koha-plugin-theme-intranet-lsd/commit/5bd213ba966aa88ee875a6b4a8faf3b3eb8ca882
And: https://github.com/bywatersolutions/koha-plugin-coverflow/blob/master/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm#L201