Bug 9883 - Koha::Plugins::Base should not require koha-conf to load
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 21 Mar 2013 08:35:16 +0000 (01:35 -0700)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 22 Mar 2013 13:52:26 +0000 (09:52 -0400)
Test Plan:
1) Run t/db_dependent/Plugins.t
2) Apply patch
3) Re-run t/db_dependent/Plugins.t

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
The tests pass both before and after the patch. I can see no
ill effects on the functionality (tried uploading and
accessing the Kitchen Sink plugin).

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
After installing libmodule-bundled-files-perl from the
debian.koha-community.org I ran through Makefile.PL
updating my conf file successfully. Also all tests
and QA script pass now.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Koha/Plugins/Base.pm

index 3b0ab15..b4091b7 100644 (file)
@@ -26,10 +26,6 @@ use base qw{Module::Bundled::Files};
 use C4::Context;
 use C4::Auth;
 
-BEGIN {
-    push @INC, C4::Context->config("pluginsdir");
-}
-
 =head1 NAME
 
 C4::Plugins::Base - Base Module for plugins