- Patch #52015 by AjK: updated timestamps for feed items.
parent
5ec06d3ee4
commit
45d989a73f
|
@ -957,7 +957,7 @@ function aggregator_parse_feed(&$data, $feed) {
|
|||
|
||||
function aggregator_save_item($edit) {
|
||||
if ($edit['iid'] && $edit['title']) {
|
||||
db_query("UPDATE {aggregator_item} SET title = '%s', link = '%s', author = '%s', description = '%s', guid = '%s' WHERE iid = %d", $edit['title'], $edit['link'], $edit['author'], $edit['description'], $edit['iid'], $edit['gid']);
|
||||
db_query("UPDATE {aggregator_item} SET title = '%s', link = '%s', author = '%s', description = '%s', guid = '%s', timestamp = %d WHERE iid = %d", $edit['title'], $edit['link'], $edit['author'], $edit['description'], $edit['iid'], $edit['timestamp'], $edit['gid']);
|
||||
}
|
||||
else if ($edit['iid']) {
|
||||
db_query('DELETE FROM {aggregator_item} WHERE iid = %d', $edit['iid']);
|
||||
|
|
Loading…
Reference in New Issue