aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-26 17:58:35 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-26 17:58:35 +0200
commitd79290df75b214f50f0d9ec586a7b855e3a86106 (patch)
treec104db7bfdf8559dbda48ddc3f0b0b291735a662 /Zotlabs/Module
parent0bf65bcad5f11be5b8d8e3280fc2f96f150a8830 (diff)
downloadvolse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.gz
volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.bz2
volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.zip
dirsync update column
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Dirsearch.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php
index 62bf99b67..22b030edf 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -218,7 +218,7 @@ class Dirsearch extends Controller {
if($sync) {
$spkt = array('transactions' => array());
- $r = q("SELECT * FROM updates WHERE ud_flags = 0 AND ud_last = '%s' AND ud_date >= '%s' ORDER BY ud_date DESC",
+ $r = q("SELECT * FROM updates WHERE ud_update = 0 AND ud_last = '%s' AND ud_date >= '%s' ORDER BY ud_date DESC",
dbesc(NULL_DATE),
dbesc($sync)
);
@@ -230,7 +230,8 @@ class Dirsearch extends Controller {
'address' => $rr['ud_addr'],
'host' => $rr['ud_guid'],
'transaction_id' => $rr['ud_guid'], // deprecated 2023-04-12
- 'timestamp' => $rr['ud_date']
+ 'timestamp' => $rr['ud_date'],
+ 'flags' => $rr['ud_flags']
];
}
}