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:
parent
a92256e1cb
commit
a4685e6df3
@ -3595,7 +3595,7 @@ function import_author_zot($x) {
|
|||||||
dbesc($x['guid_sig'])
|
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);
|
logger('in cache', LOGGER_DEBUG);
|
||||||
return $hash;
|
return $hash;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user