Bugzilla – Attachment 16777 Details for
Bug 9883
Koha::Plugins::* should not require koha-conf to load
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9883 - Koha::Plugins::* should not require koha-conf to load - Followup - Load C4::Auth at run time
Bug-9883---KohaPlugins-should-not-require-koha-con.patch (text/plain), 991 bytes, created by
Kyle M Hall (khall)
on 2013-03-22 11:40:54 UTC
(
hide
)
Description:
Bug 9883 - Koha::Plugins::* should not require koha-conf to load - Followup - Load C4::Auth at run time
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-03-22 11:40:54 UTC
Size:
991 bytes
patch
obsolete
>From 220c61ca2867128bc4ca9e719591a7464af66de5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 22 Mar 2013 04:40:36 -0700 >Subject: [PATCH] Bug 9883 - Koha::Plugins::* should not require koha-conf to load - Followup - Load C4::Auth at run time > >--- > Koha/Plugins/Base.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/Koha/Plugins/Base.pm b/Koha/Plugins/Base.pm >index b4091b7..3a8dc63 100644 >--- a/Koha/Plugins/Base.pm >+++ b/Koha/Plugins/Base.pm >@@ -24,7 +24,6 @@ use Module::Pluggable require => 1; > use base qw{Module::Bundled::Files}; > > use C4::Context; >-use C4::Auth; > > =head1 NAME > >@@ -104,6 +103,8 @@ C4:Template, but at the moment, it does not. > sub get_template { > my ( $self, $args ) = @_; > >+ require C4::Auth; >+ > my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > { template_name => $self->mbf_path( $args->{'file'} ), > query => $self->{'cgi'}, >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9883
:
16570
|
16597
|
16640
|
16710
|
16727
|
16777
|
16782
|
16786
|
16787
|
16788