From f3e3b9a3575256a4aa179278d7ae2224c32244e9 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). --- Koha/Plugins/Base.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Koha/Plugins/Base.pm b/Koha/Plugins/Base.pm index 3b0ab15..b4091b7 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 -- 1.7.9.5