aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Onedirsync.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-26 23:01:56 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-26 23:01:56 +0200
commitbdb25315b6f01f1963b21f6e0c0bd5ec2959c62e (patch)
treee530ef64610ff7f978c36c4fe7a636c8f478c456 /Zotlabs/Daemon/Onedirsync.php
parent60f0739c3e8158bdcb373c3607ef2e8e8fcb4e08 (diff)
downloadvolse-hubzilla-bdb25315b6f01f1963b21f6e0c0bd5ec2959c62e.tar.gz
volse-hubzilla-bdb25315b6f01f1963b21f6e0c0bd5ec2959c62e.tar.bz2
volse-hubzilla-bdb25315b6f01f1963b21f6e0c0bd5ec2959c62e.zip
initial commit for directory flags federation
Diffstat (limited to 'Zotlabs/Daemon/Onedirsync.php')
-rw-r--r--Zotlabs/Daemon/Onedirsync.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/Zotlabs/Daemon/Onedirsync.php b/Zotlabs/Daemon/Onedirsync.php
index 0d5ad22ea..b711b0c05 100644
--- a/Zotlabs/Daemon/Onedirsync.php
+++ b/Zotlabs/Daemon/Onedirsync.php
@@ -37,13 +37,14 @@ class Onedirsync {
$h = Libzot::zot_record_preferred($h);
if (($h) && (($h['hubloc_status'] & HUBLOC_OFFLINE) || $h['hubloc_deleted'] || $h['hubloc_error'])) {
- q("update updates set ud_flags = 9 where ud_hash = '%s' and ud_flags != 9",
- dbesc($r[0]['ud_hash'])
- );
- // 2023-04-12: Flag the entry deleted but try to update anyway since the info is not always correct
+ // 2023-04-12: Try to update anyway since the info is not always correct
// This might change after all directory servers run the new code.
+ // q("update updates set ud_flags = 9 where ud_hash = '%s' and ud_flags != 9",
+ // dbesc($r[0]['ud_hash'])
+ //);
+
// return;
}