From 85150192c7a60d9736668ed61eb52b89cfd019bb 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 --- 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 b6bc422002..dc7170f507 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -38,6 +38,7 @@ use Koha::BiblioFrameworks; use Koha::Libraries; use Koha::Patron::Categories; use Koha::SharedContent; +use Koha::Util::OpenDocument; =head1 NAME @@ -938,7 +939,6 @@ elsif ($phase eq 'Export'){ } # Process - use Koha::Util::OpenDocument; generate_ods($ods_filepath, $ods_content); # Output -- 2.17.1