Bug 14950: Remove unused variable $today_iso
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Oct 2015 10:50:36 +0000 (11:50 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Oct 2015 13:27:56 +0000 (10:27 -0300)
This variable is not used anymore in the template (and has never been
used...).

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
tools/batchMod.pl

index a7c8d70..af2ae4b 100755 (executable)
@@ -76,8 +76,6 @@ my $restrictededition = $uid ? haspermission($uid,  {'tools' => 'items_batchmod_
 # In case user is a superlibrarian, edition is not restricted
 $restrictededition = 0 if ($restrictededition != 0 && C4::Context->IsSuperLibrarian());
 
-my $today_iso = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 });
-$template->param(today_iso => $today_iso);
 $template->param(del       => $del);
 
 my $itemrecord;