From 30c9167dd48d1631f2554fa7897638ae4f4f5186 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 5 Mar 2019 15:51:15 +0100 Subject: [PATCH] Bug 21560: (follow-up) move use at the top Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (cherry picked from commit 639ad97d844f2774f49881174b559293edd6baa4) Signed-off-by: Martin Renvoize --- misc/cronjobs/gather_print_notices.pl | 2 +- reports/guided_reports.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl index edbe689997..ca99635346 100755 --- a/misc/cronjobs/gather_print_notices.pl +++ b/misc/cronjobs/gather_print_notices.pl @@ -20,6 +20,7 @@ use Getopt::Long; use C4::Log; use Koha::DateUtils; +use Koha::Util::OpenDocument; use MIME::Lite; my ( @@ -276,7 +277,6 @@ sub _generate_ods { } # Process - use Koha::Util::OpenDocument; generate_ods($ods_filepath, $ods_content); } diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 92eb5f98d7..368b8e1392 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -37,6 +37,7 @@ use Koha::AuthorisedValues; use Koha::BiblioFrameworks; use Koha::Libraries; use Koha::Patron::Categories; +use Koha::Util::OpenDocument; =head1 NAME @@ -920,7 +921,6 @@ elsif ($phase eq 'Export'){ } # Process - use Koha::Util::OpenDocument; generate_ods($ods_filepath, $ods_content); # Output -- 2.39.5