From 6e7dee0f1d371989c5928c3ca11527021ced67f0 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 (cherry picked from commit 30c9167dd48d1631f2554fa7897638ae4f4f5186) Signed-off-by: Lucas Gass (cherry picked from commit 9918ef23a39ff5f69ba60c4fcacc5b830a00773c) Signed-off-by: Fridolin Somers --- 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 a8b29e58e6..5d3570e672 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -36,6 +36,7 @@ use Koha::AuthorisedValues; use Koha::BiblioFrameworks; use Koha::Libraries; use Koha::Patron::Categories; +use Koha::Util::OpenDocument; =head1 NAME @@ -886,7 +887,6 @@ elsif ($phase eq 'Export'){ } # Process - use Koha::Util::OpenDocument; generate_ods($ods_filepath, $ods_content); # Output -- 2.39.5