aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libsync.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-22 13:37:31 +0100
committerMario <mario@mariovavti.com>2021-03-22 13:37:31 +0100
commitf6d88f20f3139c75e13798e81427b58aafce7738 (patch)
treeb4f11209f754c00bf3755b48592464e8e971fb42 /Zotlabs/Lib/Libsync.php
parent598c3aa336ac12a867be2f1ec38a3ce00f937a94 (diff)
parentccefb99cbee3c8585ede2c6e67289c5d54b38dca (diff)
downloadvolse-hubzilla-f6d88f20f3139c75e13798e81427b58aafce7738.tar.gz
volse-hubzilla-f6d88f20f3139c75e13798e81427b58aafce7738.tar.bz2
volse-hubzilla-f6d88f20f3139c75e13798e81427b58aafce7738.zip
Merge branch 'air' of https://framagit.org/hubzilla/core into air
Diffstat (limited to 'Zotlabs/Lib/Libsync.php')
-rw-r--r--Zotlabs/Lib/Libsync.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php
index e16b68cf8..7e97e4c70 100644
--- a/Zotlabs/Lib/Libsync.php
+++ b/Zotlabs/Lib/Libsync.php
@@ -781,7 +781,7 @@ class Libsync {
$t = datetime_convert('UTC', 'UTC', 'now - 15 minutes');
if (array_key_exists('site', $arr) && $location['url'] == $arr['site']['url']) {
- q("update hubloc set hubloc_connected = '%s', hubloc_updated = '%s' where hubloc_id = %d and hubloc_connected < '%s'",
+ q("update hubloc set hubloc_connected = '%s', hubloc_updated = '%s' where hubloc_id = %d and hubloc_updated < '%s'",
dbesc(datetime_convert()),
dbesc(datetime_convert()),
intval($r[0]['hubloc_id']),