get_linked_feeds: fix mysql date syntax
This commit is contained in:
parent
414d0d1f46
commit
81731791d4
|
@ -7373,7 +7373,7 @@
|
||||||
if (DB_TYPE == "pgsql") {
|
if (DB_TYPE == "pgsql") {
|
||||||
$date_qpart = "last_connected < NOW() - INTERVAL '6 hours'";
|
$date_qpart = "last_connected < NOW() - INTERVAL '6 hours'";
|
||||||
} else {
|
} else {
|
||||||
$date_qpart = "last_connected < DATE_SUB(NOW(), INTERVAL 6 HOUR";
|
$date_qpart = "last_connected < DATE_SUB(NOW(), INTERVAL 6 HOUR)";
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_query($link, "SELECT id, access_key, access_url FROM ttrss_linked_instances
|
$result = db_query($link, "SELECT id, access_key, access_url FROM ttrss_linked_instances
|
||||||
|
|
Loading…
Reference in New Issue