From 9f72156016038925569763b222091a3568fdd542 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 --- 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 6da039f..9f40d5f 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 b8d72b0..2415640 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.1.4