diff --git a/Koha/Localization.pm b/Koha/Localization.pm index 3ee44fd12c..d24bc35a86 100644 --- a/Koha/Localization.pm +++ b/Koha/Localization.pm @@ -21,6 +21,7 @@ use Koha::Database; use base qw(Koha::Object); +use Koha::Caches; my $cache = Koha::Caches->get_instance(); =head1 NAME diff --git a/Koha/MarcOverlayRule.pm b/Koha/MarcOverlayRule.pm index 6c0265f23d..8535292545 100644 --- a/Koha/MarcOverlayRule.pm +++ b/Koha/MarcOverlayRule.pm @@ -19,6 +19,7 @@ use Modern::Perl; use parent qw(Koha::Object); +use Koha::Caches; my $cache = Koha::Caches->get_instance(); =head1 NAME diff --git a/opac/svc/auth/googleopenidconnect b/opac/svc/auth/googleopenidconnect index a6af900866..14de503e1d 100755 --- a/opac/svc/auth/googleopenidconnect +++ b/opac/svc/auth/googleopenidconnect @@ -34,7 +34,7 @@ use Modern::Perl; use CGI qw ( -utf8 escape ); use C4::Auth qw{ checkauth get_session get_template_and_user }; use C4::Context; -use C4::Output; +use C4::Output qw{ output_html_with_http_headers }; use Koha::Patrons; use LWP::UserAgent;