From 32b1d0386acac268fb65d81a66ffe1561f830c2d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 27 Jun 2016 13:43:59 +0000 Subject: [PATCH] Bug 14757 [QA Followup] - Don't overload new for Modifications Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- Koha/Patron/Modifications.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Koha/Patron/Modifications.pm b/Koha/Patron/Modifications.pm index 31fd61bcea..7e17289f22 100644 --- a/Koha/Patron/Modifications.pm +++ b/Koha/Patron/Modifications.pm @@ -29,18 +29,6 @@ use C4::Debug; use base qw(Koha::Objects); -sub new { - my ( $self, %args ) = @_; - - $self = $self->SUPER::new(@_); - - foreach my $key ( keys %args ) { - $self->{$key} = $args{$key}; - } - - return $self; -} - =head2 AddModifications Koha::Patron::Modifications->AddModifications( $data ); -- 2.39.5