diff options
author | friendica <info@friendica.com> | 2012-06-12 02:47:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-12 02:47:05 -0700 |
commit | 1dd52c20cf0e9affc49c2dbbe364f102e9f23e53 (patch) | |
tree | a62380675310d04a50bed252b5d094c99e7bdce3 /include/items.php | |
parent | b6ff71acaab74169aeef575cd20cb7cba0756c42 (diff) | |
download | volse-hubzilla-1dd52c20cf0e9affc49c2dbbe364f102e9f23e53.tar.gz volse-hubzilla-1dd52c20cf0e9affc49c2dbbe364f102e9f23e53.tar.bz2 volse-hubzilla-1dd52c20cf0e9affc49c2dbbe364f102e9f23e53.zip |
move parens to proper place
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php index d543dcab0..bb81d1a45 100755 --- a/include/items.php +++ b/include/items.php @@ -1655,7 +1655,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0) if((x($datarray,'edited') !== false) && (datetime_convert('UTC','UTC',$datarray['edited']) !== $r[0]['edited'])) { // do not accept (ignore) an earlier edit than one we currently have. - if(datetime_convert('UTC','UTC',$datarray['edited'] < $r[0]['edited'])) + if(datetime_convert('UTC','UTC',$datarray['edited']) < $r[0]['edited']) continue; $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s' WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", @@ -1806,7 +1806,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0) if((x($datarray,'edited') !== false) && (datetime_convert('UTC','UTC',$datarray['edited']) !== $r[0]['edited'])) { // do not accept (ignore) an earlier edit than one we currently have. - if(datetime_convert('UTC','UTC',$datarray['edited'] < $r[0]['edited'])) + if(datetime_convert('UTC','UTC',$datarray['edited']) < $r[0]['edited']) continue; $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s' WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", @@ -2297,7 +2297,7 @@ function local_delivery($importer,$data) { if((x($datarray,'edited') !== false) && (datetime_convert('UTC','UTC',$datarray['edited']) !== $r[0]['edited'])) { // do not accept (ignore) an earlier edit than one we currently have. - if(datetime_convert('UTC','UTC',$datarray['edited'] < $r[0]['edited'])) + if(datetime_convert('UTC','UTC',$datarray['edited']) < $r[0]['edited']) continue; logger('received updated comment' , LOGGER_DEBUG); @@ -2480,7 +2480,7 @@ function local_delivery($importer,$data) { if((x($datarray,'edited') !== false) && (datetime_convert('UTC','UTC',$datarray['edited']) !== $r[0]['edited'])) { // do not accept (ignore) an earlier edit than one we currently have. - if(datetime_convert('UTC','UTC',$datarray['edited'] < $r[0]['edited'])) + if(datetime_convert('UTC','UTC',$datarray['edited']) < $r[0]['edited']) continue; $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s' WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", @@ -2651,7 +2651,7 @@ function local_delivery($importer,$data) { if((x($datarray,'edited') !== false) && (datetime_convert('UTC','UTC',$datarray['edited']) !== $r[0]['edited'])) { // do not accept (ignore) an earlier edit than one we currently have. - if(datetime_convert('UTC','UTC',$datarray['edited'] < $r[0]['edited'])) + if(datetime_convert('UTC','UTC',$datarray['edited']) < $r[0]['edited']) continue; $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s' WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", |