Bug 14870: Remove C4::Dates from plack.psgi and koha.psgi
authorHector Castro <hector.hecaxmmx@gmail.com>
Sun, 8 Nov 2015 03:43:56 +0000 (21:43 -0600)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 19 Nov 2015 16:05:06 +0000 (13:05 -0300)
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 <Katrin.Fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/templates/plack.psgi
misc/plack/koha.psgi

index 6da039f..9f40d5f 100644 (file)
@@ -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
 {
index b8d72b0..2415640 100644 (file)
@@ -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