]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 26 Feb 2016 15:26:39 +0000 (16:26 +0100)
commit5f96cbd933aad1bade1d06b57e58c205aa6ffa35
tree2ccb0e7794eaec29d4b6cf64f9005b5772d64a39
parentae2c66c601a38a30d7ed8e8a074dbb0282de6057
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
(cherry picked from commit 2a43195322c228795b08ebbc165e360c725c2b56)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Koha/Plugins.pm