mirror of
https://github.com/friendica/friendica
synced 2025-04-25 16:30:10 +00:00
Export all federation contacts through poco
This commit is contained in:
parent
39d2720e7b
commit
e3e9de2e74
3 changed files with 12 additions and 5 deletions
|
@ -613,8 +613,8 @@ function poco_do_update($created, $updated, $last_failure, $last_contact) {
|
|||
return false;
|
||||
|
||||
// If the last contact was less than a week ago and the last failure is older than a week then don't update
|
||||
if ((($now - $contact_time) < (60 * 60 * 24 * 7)) AND ($contact_time > $failure_time))
|
||||
return false;
|
||||
//if ((($now - $contact_time) < (60 * 60 * 24 * 7)) AND ($contact_time > $failure_time))
|
||||
// return false;
|
||||
|
||||
// If the last contact time was more than a week ago and the contact was created more than a week ago, then only try once a week
|
||||
if ((($now - $contact_time) > (60 * 60 * 24 * 7)) AND (($now - $created_time) > (60 * 60 * 24 * 7)) AND (($now - $failure_time) < (60 * 60 * 24 * 7)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue