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

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

Return to bug 17782