import_author_xchan - since we rarely refresh zot-info for non-connections, force a cache reload once a week to catch things like profile photo updates and location changes

This commit is contained in:
zotlabs 2017-04-05 17:08:13 -07:00 committed by Mario Vavti
parent a4f6c24273
commit b347e1d861

View file

@ -3595,7 +3595,7 @@ function import_author_zot($x) {
dbesc($x['guid_sig'])
);
if($r1 && $r2) {
if($r1 && $r2 && $r1[0]['hubloc_updated'] > datetime_convert('UTC','UTC','now - 1 week')) {
logger('in cache', LOGGER_DEBUG);
return $hash;
}