]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 1 Mar 2016 14:41:14 +0000 (15:41 +0100)
commit559a8dbb592a24b7d104ec01dae216774f68eb22
tree3e6aa413a27a12a4d9983513d0e91cdabc2f8dab
parentfe690be6b68dedf25db93501f2d13a3ca597b53d
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>
(cherry picked from commit 5f96cbd933aad1bade1d06b57e58c205aa6ffa35)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Koha/Plugins.pm