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

(-)a/misc/cronjobs/cleanup_database.pl (-2 / +1 lines)
Lines 399-405 sub PurgeHolidays { Link Here
399
    $sth = $dbh->prepare(
399
    $sth = $dbh->prepare(
400
        q{
400
        q{
401
            DELETE FROM special_holidays
401
            DELETE FROM special_holidays
402
            WHERE DATE( CONCAT( year, '-', month, '-', day ) ) < ?
402
            WHERE CAST( CONCAT( year, '-', month, '-', day ) AS DATE ) < ?
403
        }
403
        }
404
    );
404
    );
405
    $sth->execute( $date->ymd ) or die $dbh->errstr;
405
    $sth->execute( $date->ymd ) or die $dbh->errstr;
406
- 

Return to bug 13409