From 46c99f47ca68597575abf5ca951a33284d29e69f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 21 Mar 2013 01:35:16 -0700 Subject: [PATCH] Bug 9883 - Koha::Plugins::Base should not require koha-conf to load 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 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 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 Signed-off-by: Jared Camins-Esakov --- Koha/Plugins/Base.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Koha/Plugins/Base.pm b/Koha/Plugins/Base.pm index 3b0ab15747..b4091b7b27 100644 --- a/Koha/Plugins/Base.pm +++ b/Koha/Plugins/Base.pm @@ -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 -- 2.39.5