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

(-)a/misc/cronjobs/cleanup_database.pl (-1 / +1 lines)
Lines 901-906 sub PurgeEdifactMessages { Link Here
901
            SELECT id
901
            SELECT id
902
            FROM edifact_messages
902
            FROM edifact_messages
903
            WHERE transfer_date < date_sub(curdate(), INTERVAL ? DAY)
903
            WHERE transfer_date < date_sub(curdate(), INTERVAL ? DAY)
904
            AND status != 'new';
904
        }
905
        }
905
    );
906
    );
906
    $sth->execute($days) or die $dbh->errstr;
907
    $sth->execute($days) or die $dbh->errstr;
907
- 

Return to bug 30069