aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-08 15:15:18 +0000
committerMario <mario@mariovavti.com>2022-02-08 15:15:18 +0000
commitc94f25570b94ba2f389fbd1ad9f547a10e962e24 (patch)
tree294fabaf3e7d9172c8e0201a389b0e72d0cbf29f /Zotlabs/Lib
parentffa5e088325a8ddef0941efee58a8be739ffb538 (diff)
parent63243c8e0417f6922e745aca3593bb06cb46760e (diff)
downloadvolse-hubzilla-c94f25570b94ba2f389fbd1ad9f547a10e962e24.tar.gz
volse-hubzilla-c94f25570b94ba2f389fbd1ad9f547a10e962e24.tar.bz2
volse-hubzilla-c94f25570b94ba2f389fbd1ad9f547a10e962e24.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index e78cb4568..e4d8d2275 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -3172,7 +3172,7 @@ class Libzot {
}
static function update_cached_hubloc($hubloc) {
- if ($hubloc['hubloc_updated'] > datetime_convert('UTC','UTC','now - 1 week') || $hubloc['hubloc_url'] === z_root()) {
+ if ($hubloc['hubloc_updated'] > datetime_convert('UTC','UTC','now - 3 days') || $hubloc['hubloc_url'] === z_root()) {
return;
}
self::refresh( [ 'hubloc_id_url' => $hubloc['hubloc_id_url'] ] );