Lines 463-471
if (defined $pPseudoTransactions or $pPseudoTransactionsFrom or $pPseudoTransact
Link Here
|
463 |
Koha::PseudonymizedTransactions->filter_by_last_update( |
463 |
Koha::PseudonymizedTransactions->filter_by_last_update( |
464 |
{ |
464 |
{ |
465 |
timestamp_column_name => 'datetime', |
465 |
timestamp_column_name => 'datetime', |
466 |
( $pPseudoTransactions ? ( days => $pPseudoTransactions ) : () ), |
466 |
( defined $pPseudoTransactions ? ( days => $pPseudoTransactions ) : () ), |
467 |
( $pPseudoTransactionsFrom ? ( from => $pPseudoTransactionsFrom ) : () ), |
467 |
( $pPseudoTransactionsFrom ? ( from => $pPseudoTransactionsFrom ) : () ), |
468 |
( $pPseudoTransactionsTo ? ( to => $pPseudoTransactionsTo ) : () ), |
468 |
( $pPseudoTransactionsTo ? ( to => $pPseudoTransactionsTo ) : () ), |
469 |
} |
469 |
} |
470 |
)->delete; |
470 |
)->delete; |
471 |
print "Done with purging pseudonymized transactions.\n" if $verbose; |
471 |
print "Done with purging pseudonymized transactions.\n" if $verbose; |
472 |
- |
|
|