[Koha-bugs] [Bug 31503] Allow several consent types on the consents tab of OPAC account page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 13 17:37:15 CEST 2023


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155788|0                           |1
        is obsolete|                            |

--- Comment #110 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 157122
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157122&action=edit
Bug 31503: (follow-up) Add 'feature_enabled' to Koha::Plugins

This patch adds a 'feature_enabled' accessor to the Koha::Plugins class.
Passing the plugin method name for the plugin feature you're looking for
will return a boolean denoting whether any enabled plugins carry said
method.

Included in the patch is an addition to the TT KohaPlugins plugin to
enable quick access to this function.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

[EDIT] Tidied t/db_dependent/Koha/Plugins/Plugins.t
[EDIT] Tidied Koha/Template/Plugin/KohaPlugins.pm

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list