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 <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
3684a53dc3
commit
1f5fbcf736
1 changed files with 0 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue