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

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

Return to bug 17782