don't update an event that hasn't changed.

This commit is contained in:
Friendika
2011-06-23 18:25:33 -07:00
parent 38cf37d3c3
commit a15bd91d17
3 changed files with 18 additions and 0 deletions

View File

@@ -1347,6 +1347,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_fee
if(x($ev,'desc') && x($ev,'start')) {
$ev['uid'] = $importer['uid'];
$ev['uri'] = $item_id;
$ev['edited'] = $datarray['edited'];
if(is_array($contact))
$ev['cid'] = $contact['id'];