OnePoll: We now force an update check all the time
This commit is contained in:
parent
ea4995a6a8
commit
52a799574d
|
@ -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 New Issue
Block a user