aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-04-09 19:44:35 +0000
committerMario <mario@mariovavti.com>2023-04-09 19:44:35 +0000
commitf76d9b7908fd55c5ee237e3dd48624bdf2541b4c (patch)
treeebb223bda99c268189c28e2dc02952c5d5d20716
parent4873f61d6cb494e82d7aef3892c99b81a41cea61 (diff)
downloadvolse-hubzilla-f76d9b7908fd55c5ee237e3dd48624bdf2541b4c.tar.gz
volse-hubzilla-f76d9b7908fd55c5ee237e3dd48624bdf2541b4c.tar.bz2
volse-hubzilla-f76d9b7908fd55c5ee237e3dd48624bdf2541b4c.zip
make sure to update ud_last timestamp if we successfully fingered a channel
-rw-r--r--Zotlabs/Lib/Libzotdir.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index fa691080f..dfedd0bc8 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -331,8 +331,7 @@ class Libzotdir {
dbesc($zf['data']['primary_location']['url'])
);
}
- }
- else {
+
q("update updates set ud_last = '%s' where ud_addr = '%s'",
dbesc(datetime_convert()),
dbesc($ud['ud_addr'])