From 03bdbfa705ba490b0450f063753100557f5d8bae Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Apr 2023 20:00:54 +0000 Subject: set ud_last after successfully probing a channel --- Zotlabs/Lib/Libzotdir.php | 3 +-- 1 file changed, 1 insertion(+), 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']) -- cgit v1.2.3