Bugzilla – Attachment 31636 Details for
Bug 12884
Get rid of redefined subroutine warnings from dateaccessioned.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12884: Get rid of redefined subroutine warnings in dateaccessioned.pl
Bug-12884-Get-rid-of-redefined-subroutine-warnings.patch (text/plain), 1.16 KB, created by
Marcel de Rooy
on 2014-09-16 14:27:15 UTC
(
hide
)
Description:
Bug 12884: Get rid of redefined subroutine warnings in dateaccessioned.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-09-16 14:27:15 UTC
Size:
1.16 KB
patch
obsolete
>From b1734ade21901869e348964664934dc9fad75e8d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 8 Sep 2014 13:21:17 +0200 >Subject: [PATCH] Bug 12884: Get rid of redefined subroutine warnings in > dateaccessioned.pl >Content-Type: text/plain; charset=utf-8 > >Instead of removing all warnings, we should remove warnings about the >redefined subroutines. > >Test plan: >- link the dateaccessioned plugin with one of your biblio field >- edit an item >- verify they are no warnings in the Koha log file. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > cataloguing/value_builder/dateaccessioned.pl | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl >index 5e834a4..2ae821a 100755 >--- a/cataloguing/value_builder/dateaccessioned.pl >+++ b/cataloguing/value_builder/dateaccessioned.pl >@@ -17,8 +17,9 @@ > # with Koha; if not, write to the Free Software Foundation, Inc., > # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > >-use strict; >-use warnings; >+use Modern::Perl; >+ >+no warnings 'redefine'; > > =head1 > >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12884
:
31452
|
31453
|
31578
|
31632
| 31636