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

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

Return to bug 17782