From 64f30831ac1176baedba9952ff56c51e000ae5f2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 12 Apr 2023 23:07:19 +0200 Subject: rename update_modtime() to update() and only bump ud_date if something actually changed --- Zotlabs/Lib/Libzot.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Lib/Libzot.php') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 743100506..bf6d02a72 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -968,8 +968,10 @@ class Libzot { } } - // update updates if anything changed - Libzotdir::update_modtime($xchan_hash, $address); + + // update updates if anything changed bump the ud_date + Libzotdir::update($xchan_hash, $address, $changed); + if (empty($ret['message'])) { $ret['success'] = true; -- cgit v1.2.3