1
0
Fork 0

Merge pull request #4099 from annando/always-force

OnePoll: We now force an update check all the time
This commit is contained in:
Hypolite Petovan 2017-12-18 08:10:08 -05:00 committed by GitHub
commit 4e91ced137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ Class OnePoll
// 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)) {
$last_updated = PortableContact::lastUpdated($contact["url"]);
$last_updated = PortableContact::lastUpdated($contact["url"], true);
$updated = datetime_convert();
if ($last_updated) {
logger('Contact '.$contact['id'].' had last update on '.$last_updated, LOGGER_DEBUG);