Follow up from #419860: Make feedapi aware of node revisions

This needs to join to node table in order to respect revisions introduced by the patch above.

$result = db_query_range("SELECT DISTINCT nid FROM {feedapi} WHERE next_refresh_time < %d AND next_refresh_time <> %d ORDER BY next_refresh_time ASC", $now, FEEDAPI_CRON_NEVER_REFRESH, 0, FEEDAPI_CRON_FEEDS);

Comments

aron novak’s picture

StatusFileSize
new1 KB
aron novak’s picture

Status: Active » Needs review
StatusFileSize
new1015 bytes

Hm, it seems that the DISTINCT is useless now.

aron novak’s picture

The patch needs to be re-rolled if #455688: Make refresh rate of feeds configurable will be committed.

aron novak’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.