Commit b347e1d8 authored by Zot's avatar Zot Committed by Mario

import_author_xchan - since we rarely refresh zot-info for non-connections,...

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
parent a4f6c242
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment