From 227bbda392e9925df53e9d603b4549d10f548a2e Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 8 Sep 2014 13:21:17 +0200 Subject: [PATCH] [Signed-off] Bug 12884: Get rid of redefined subroutine warnings in dateaccessioned.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most value_builder scripts have use warnings commented since they redefine subroutines like plugin_javascript etc. and they would create a lot of loglines. The dateaccessioned script in this folder does not have it commented; so it creates loglines. While we wait for the real solution for those redefines, I am at least consistent when commenting the use warnings here.. ;) Test plan: Edit an item. Check log. Apply patch. Edit an item. Check log. Without patch I got warnings in intranet-error.log. With patch no more warnings occured. Signed-off-by: Marc VĂ©ron --- cataloguing/value_builder/dateaccessioned.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl index 5e834a4..467f77c 100755 --- a/cataloguing/value_builder/dateaccessioned.pl +++ b/cataloguing/value_builder/dateaccessioned.pl @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; -use warnings; +#use warnings; #get rid of redefined subroutine warnings =head1 -- 1.7.10.4