aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libsync.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-16 11:16:44 +0000
committerMario <mario@mariovavti.com>2023-02-16 11:16:44 +0000
commitcbf8c4bdb274f8d9c326961b9d0bf0c2a2ac35a0 (patch)
tree5001c96fa80fc6a6edd71f9b2127b1a33299b3d4 /Zotlabs/Lib/Libsync.php
parent321cd9f2e03bd3895aaf3bda70b5a67281610894 (diff)
downloadvolse-hubzilla-cbf8c4bdb274f8d9c326961b9d0bf0c2a2ac35a0.tar.gz
volse-hubzilla-cbf8c4bdb274f8d9c326961b9d0bf0c2a2ac35a0.tar.bz2
volse-hubzilla-cbf8c4bdb274f8d9c326961b9d0bf0c2a2ac35a0.zip
more queue updates from streams and remove a hz_syslog
Diffstat (limited to 'Zotlabs/Lib/Libsync.php')
-rw-r--r--Zotlabs/Lib/Libsync.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php
index b0ce7cd12..d52b501e4 100644
--- a/Zotlabs/Lib/Libsync.php
+++ b/Zotlabs/Lib/Libsync.php
@@ -998,12 +998,12 @@ class Libsync {
}
}
- // get rid of any hubs we have for this channel which weren't reported.
+ // get rid of any hublocs we have for this channel which weren't reported.
if ($xisting) {
foreach ($xisting as $x) {
if (!array_key_exists('updated', $x)) {
- hz_syslog('Deleting unreferenced hub location ' . $x['hubloc_addr']);
+ logger('Deleting unreferenced hub location ' . $x['hubloc_addr']);
q("update hubloc set hubloc_deleted = 1, hubloc_updated = '%s' where hubloc_id_url = '%s'",
dbesc(datetime_convert()),
dbesc($x['hubloc_id_url'])