Another placed replaced with "failed"
This commit is contained in:
parent
5bf813d0ec
commit
1e6b5e8287
|
@ -97,7 +97,7 @@ class OnePoll
|
||||||
}
|
}
|
||||||
|
|
||||||
// load current friends if possible.
|
// 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']])) {
|
if (!DBA::exists('glink', ["`cid` = ? AND updated > UTC_TIMESTAMP() - INTERVAL 1 DAY", $contact['id']])) {
|
||||||
PortableContact::loadWorker($contact['id'], $importer_uid, 0, $contact['poco']);
|
PortableContact::loadWorker($contact['id'], $importer_uid, 0, $contact['poco']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue