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
parent a92256e1cb
commit a4685e6df3

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;
}