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
1 changed files with 1 additions and 1 deletions

View File

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