diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-26 17:58:35 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-26 17:58:35 +0200 |
commit | d79290df75b214f50f0d9ec586a7b855e3a86106 (patch) | |
tree | c104db7bfdf8559dbda48ddc3f0b0b291735a662 /Zotlabs/Lib/Libzotdir.php | |
parent | 0bf65bcad5f11be5b8d8e3280fc2f96f150a8830 (diff) | |
download | volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.gz volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.bz2 volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.zip |
dirsync update column
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index bd5078f9e..548164baa 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -279,13 +279,13 @@ class Libzotdir { continue; } - q("UPDATE updates SET ud_flags = 1 WHERE ud_id = %d", + q("UPDATE updates SET ud_update = 1 WHERE ud_id = %d", dbesc($r[0]['ud_id']) ); } else { $t['transaction_id'] = strpos($t['transaction_id'], '@') === false ? $t['transaction_id'] : substr($t['transaction_id'], strpos($t['transaction_id'], '@') + 1); - q("insert into updates ( ud_hash, ud_guid, ud_date, ud_addr, ud_flags ) + q("insert into updates ( ud_hash, ud_guid, ud_date, ud_addr, ud_update ) values ( '%s', '%s', '%s', '%s', 1 ) ", dbesc($t['hash']), dbesc($t['host'] ?? $t['transaction_id']), // 2023-04-12 transaction_id is deprecated |