aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Dirsearch.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-12 11:36:34 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-12 11:36:34 +0200
commit261762448e99a722d2a5e262610a66c5c1c72293 (patch)
treeb875acafe519323011d900ccdc9a5c751a2e58be /Zotlabs/Module/Dirsearch.php
parent7ce4175876ce13727432dc839938bb8e486ef406 (diff)
downloadvolse-hubzilla-261762448e99a722d2a5e262610a66c5c1c72293.tar.gz
volse-hubzilla-261762448e99a722d2a5e262610a66c5c1c72293.tar.bz2
volse-hubzilla-261762448e99a722d2a5e262610a66c5c1c72293.zip
use url instead of addr for updates and clean up local_dir_update() and update_modtime()
Diffstat (limited to 'Zotlabs/Module/Dirsearch.php')
-rw-r--r--Zotlabs/Module/Dirsearch.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php
index 633ae69f0..001bd87a7 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -222,19 +222,19 @@ class Dirsearch extends Controller {
if($r) {
foreach($r as $rr) {
- $flags = array();
+ $flags = [];
if($rr['ud_flags'] & UPDATE_FLAGS_DELETED)
$flags[] = 'deleted';
if($rr['ud_flags'] & UPDATE_FLAGS_FORCED)
$flags[] = 'forced';
- $spkt['transactions'][] = array(
+ $spkt['transactions'][] = [
'hash' => $rr['ud_hash'],
'address' => $rr['ud_addr'],
'transaction_id' => $rr['ud_guid'],
'timestamp' => $rr['ud_date'],
'flags' => $flags
- );
+ ];
}
}