From cc68386c0c35409df4ddf8f68b45af9445bd62de Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Oct 2015 11:50:36 +0100 Subject: [PATCH] Bug 14950: Remove unused variable $today_iso This variable is not used anymore in the template (and has never been used...). Signed-off-by: Jonathan Druart --- tools/batchMod.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index a7c8d70..af2ae4b 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -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; -- 2.1.0