aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-12 23:07:19 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-12 23:07:19 +0200
commit64f30831ac1176baedba9952ff56c51e000ae5f2 (patch)
treef8f172c12ab458a85a7177e56a5aa7e744edcd4e /Zotlabs/Lib/Libzot.php
parentbf5722cd25d2b837253ce2c63ec9decb61124040 (diff)
downloadvolse-hubzilla-64f30831ac1176baedba9952ff56c51e000ae5f2.tar.gz
volse-hubzilla-64f30831ac1176baedba9952ff56c51e000ae5f2.tar.bz2
volse-hubzilla-64f30831ac1176baedba9952ff56c51e000ae5f2.zip
rename update_modtime() to update() and only bump ud_date if something actually changed
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php6
1 files changed, 4 insertions, 2 deletions
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;