From 1f5fbcf73626139bcc01aca73b912fa29ff51f7d 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 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 Signed-off-by: Tomas Cohen Arazi --- 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.39.5