From 53b4a0f7d08aeb265a36f6f0ff62f7f3d2c45f3a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 28 Aug 2014 17:03:32 +0200 Subject: [PATCH] [SIGNED OFF] Bug 12845: C4::Output::FormatData can be removed Test plan: git grep FormatData should not return any result in pl and pm files. Signed-off-by: Nick Clemens --- C4/Output.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/C4/Output.pm b/C4/Output.pm index 324cf69..cadd097 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -93,20 +93,6 @@ if ( $cur_format eq 'FR' ) { return $num; } -=item FormatData - -FormatData($data_hashref) -C<$data_hashref> is a ref to data to format - -Format dates of data those dates are assumed to contain date in their noun -Could be used in order to centralize all the formatting for HTML output -=cut - -sub FormatData{ - my $data_hashref=shift; - $$data_hashref{$_} = format_date( $$data_hashref{$_} ) for grep{/date/} keys (%$data_hashref); -} - =item pagination_bar pagination_bar($base_url, $nb_pages, $current_page, $startfrom_name) -- 1.7.10.4