[Koha-bugs] [Bug 20415] Remove UseKohaPlugins system preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 20 00:23:27 CET 2020


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101021|0                           |1
        is obsolete|                            |
 Attachment #101022|0                           |1
        is obsolete|                            |

--- Comment #15 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 101060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101060&action=edit
Bug 20415: add Koha.Config Template Toolkit method

In order to remove UseKohaPlugins syspref, adds to Koha Template Toolkit
plugin a method Config() that calls C4::Context->config().

Test plan:
1) Set syspref UseKohaPlugins enabled
2) Set config enable_plugins=1
3) Check you see "Tool plugins" in "Tools" home page and menu
4) Check you see "Manage plugins" in "Koha administration" home page
5) Check you see "Report plugins" in "Reports" home page and menu
6) Set config enable_plugins=0
7) Check you don't see in 3) 4) 5)

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list