projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf813d
)
Another placed replaced with "failed"
author
Michael
<heluecht@pirati.ca>
Sun, 19 Jul 2020 11:55:42 +0000
(11:55 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 19 Jul 2020 11:55:42 +0000
(11:55 +0000)
src/Worker/OnePoll.php
patch
|
blob
|
history
diff --git
a/src/Worker/OnePoll.php
b/src/Worker/OnePoll.php
index 17986121085c19e423e6f1f18c1883219daf14b3..fa8f748334e431a7495a25ebf44c76e633fbf8dd 100644
(file)
--- a/
src/Worker/OnePoll.php
+++ b/
src/Worker/OnePoll.php
@@
-97,7
+97,7
@@
class OnePoll
}
// load current friends if possible.
- if (!empty($contact['poco']) &&
($contact['success_update'] > $contact['failure_update'])
) {
+ if (!empty($contact['poco']) &&
!$contact['failed']
) {
if (!DBA::exists('glink', ["`cid` = ? AND updated > UTC_TIMESTAMP() - INTERVAL 1 DAY", $contact['id']])) {
PortableContact::loadWorker($contact['id'], $importer_uid, 0, $contact['poco']);
}