catchup_feed: fix 1day on mysql

This commit is contained in:
Andrew Dolgov 2013-03-31 12:45:19 +04:00
parent 94828a8b12
commit d538101618

View file

@ -1018,7 +1018,7 @@
if (DB_TYPE == "pgsql") {
$date_qpart = "date_entered < NOW() - INTERVAL '1 day' ";
} else {
$date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) ";
$date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 DAY) ";
}
break;
case "1week":