Merge pull request #4099 from annando/always-force
OnePoll: We now force an update check all the time
This commit is contained in:
commit
4e91ced137
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ Class OnePoll
|
||||||
|
|
||||||
// Diaspora users, archived users and followers are only checked if they still exist.
|
// Diaspora users, archived users and followers are only checked if they still exist.
|
||||||
if ($contact['archive'] || ($contact["network"] == NETWORK_DIASPORA) || ($contact["rel"] == CONTACT_IS_FOLLOWER)) {
|
if ($contact['archive'] || ($contact["network"] == NETWORK_DIASPORA) || ($contact["rel"] == CONTACT_IS_FOLLOWER)) {
|
||||||
$last_updated = PortableContact::lastUpdated($contact["url"]);
|
$last_updated = PortableContact::lastUpdated($contact["url"], true);
|
||||||
$updated = datetime_convert();
|
$updated = datetime_convert();
|
||||||
if ($last_updated) {
|
if ($last_updated) {
|
||||||
logger('Contact '.$contact['id'].' had last update on '.$last_updated, LOGGER_DEBUG);
|
logger('Contact '.$contact['id'].' had last update on '.$last_updated, LOGGER_DEBUG);
|
||||||
|
|
Loading…
Reference in a new issue