]> git.koha-community.org Git - koha.git/commit
Bug 15743: Allow plugins to embed Perl modules
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 4 Feb 2016 16:42:42 +0000 (17:42 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 01:49:48 +0000 (01:49 +0000)
commit2a43195322c228795b08ebbc165e360c725c2b56
tree5163a78d7f611ed3a33a59ab705b8944eb2f5ff4
parentd9c19c6d45ad3f62119e3a29f37e227f635cb85c
Bug 15743: Allow plugins to embed Perl modules

This patch allows plugins to embed Perl modules by ignoring Perl modules
in plugins directory that don't inherit from Koha::Plugins::Base

TEST PLAN
---------
1) Edit koha-conf.xml to have enable_plugins set to 1, and
   the pluginsdir set to a particular path.
2) Create a dummy plugin file. (e.g. {that path}/Koha/Plugin/Kaboom.pm)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
Koha/Plugins.pm