summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-31 12:45:19 +0400
committerAndrew Dolgov <[email protected]>2013-03-31 12:45:19 +0400
commitd538101618b61f745472ae1c76473db443975a8f (patch)
tree20c13971725d2445eade7086d733a96d79d29a0a
parent94828a8b12a7e51c2e49c766e80f458467a3e588 (diff)
catchup_feed: fix 1day on mysql
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index f2dd87bd3..ea69b5f38 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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":