From f464af4141dffde2e54f9d9f876e033b755494cb Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Sat, 7 Nov 2015 21:43:56 -0600 Subject: [PATCH] Bug 14870: Remove C4::Dates from plack.psgi and koha.psgi Remove C4::Dates from .psgi files from preloaded modules, placing Koha::DateUtils instead http://bugs.koha-community.org/show_bug.cgi?id=14870 Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- debian/templates/plack.psgi | 2 +- misc/plack/koha.psgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index 6da039f1f8..9f40d5f649 100644 --- a/debian/templates/plack.psgi +++ b/debian/templates/plack.psgi @@ -29,13 +29,13 @@ use Plack::App::URLMap; use C4::Boolean; use C4::Branch; use C4::Category; -use C4::Dates; use C4::Koha; use C4::Languages; use C4::Letters; use C4::Members; use C4::XSLT; use Koha::Database; +use Koha::DateUtils; use CGI qw(-utf8 ); # we will loose -utf8 under plack, otherwise { diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi index b8d72b0dc0..2415640b84 100644 --- a/misc/plack/koha.psgi +++ b/misc/plack/koha.psgi @@ -38,13 +38,13 @@ $ENV{PROFILE_PER_PAGE} = 1; # reset persistent and profile counters after each p use C4::Context; use C4::Languages; use C4::Members; -use C4::Dates; use C4::Boolean; use C4::Letters; use C4::Koha; use C4::XSLT; use C4::Branch; use C4::Category; +use Koha::DateUtils; =for preload use C4::Tags; # FIXME =cut -- 2.39.5