fix purge_feed for pg 8.1 (2)
This commit is contained in:
parent
1e59ae3582
commit
fc7741551e
|
@ -39,7 +39,7 @@
|
||||||
WHERE ttrss_entries.id = ref_id AND
|
WHERE ttrss_entries.id = ref_id AND
|
||||||
marked = false AND
|
marked = false AND
|
||||||
feed_id = '$feed_id' AND
|
feed_id = '$feed_id' AND
|
||||||
ttrss_entries.date_entered < NOW() - INTERVAL '$purge_interval days')");
|
ttrss_entries.date_entered < NOW() - INTERVAL '$purge_interval days'");
|
||||||
}
|
}
|
||||||
|
|
||||||
$rows = pg_affected_rows($result);
|
$rows = pg_affected_rows($result);
|
||||||
|
|
Loading…
Reference in New Issue