From f8bfb707c2aa98d90f542c22fdf927e3ebff587a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 24 Jun 2022 15:39:07 +0100 Subject: [PATCH] Bug 29958: Do not set dateaccessioned on updates Content-Type: text/plain; charset=utf-8 This patch reomves the second occurence of setting daeaccessioned today, outside of the 'add/update' handling in Koha::Item->store. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- Koha/Item.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 16d6f95bed..6e96df5999 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -198,10 +198,6 @@ sub store { } - unless ( $self->dateaccessioned ) { - $self->dateaccessioned($today); - } - my $result = $self->SUPER::store; if ( $log_action && C4::Context->preference("CataloguingLog") ) { $action eq 'create' -- 2.20.1