View | Details | Raw Unified | Return to bug 17782
Collapse All | Expand All

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 441-446 This can be done before deleting a patron, to make sure the data are not complet Link Here
441
sub move_to_deleted {
441
sub move_to_deleted {
442
    my ($self) = @_;
442
    my ($self) = @_;
443
    my $patron_infos = $self->unblessed;
443
    my $patron_infos = $self->unblessed;
444
    delete $patron_infos->{updated_on}; #This ensures the updated_on date in deletedborrowers will be set to the current timestamp
444
    return Koha::Database->new->schema->resultset('Deletedborrower')->create($patron_infos);
445
    return Koha::Database->new->schema->resultset('Deletedborrower')->create($patron_infos);
445
}
446
}
446
447
447
- 

Return to bug 17782