aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Attach_edit.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-14 22:06:47 +0000
committerMario <mario@mariovavti.com>2020-12-14 22:06:47 +0000
commit4a902dbbbe79a59d6e434ddb39ff24af93583da3 (patch)
treea1eb6abb6e850149304ec3044f95026812083ddb /Zotlabs/Module/Attach_edit.php
parent8e488e291347857407dbedaf05d63941701d82d2 (diff)
downloadvolse-hubzilla-4a902dbbbe79a59d6e434ddb39ff24af93583da3.tar.gz
volse-hubzilla-4a902dbbbe79a59d6e434ddb39ff24af93583da3.tar.bz2
volse-hubzilla-4a902dbbbe79a59d6e434ddb39ff24af93583da3.zip
fix file sync issues
Diffstat (limited to 'Zotlabs/Module/Attach_edit.php')
-rw-r--r--Zotlabs/Module/Attach_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Attach_edit.php b/Zotlabs/Module/Attach_edit.php
index 667a0b7aa..5880d8f13 100644
--- a/Zotlabs/Module/Attach_edit.php
+++ b/Zotlabs/Module/Attach_edit.php
@@ -181,7 +181,7 @@ class Attach_edit extends Controller {
}
if (! $admin_delete && $actions_done) {
- $sync = attach_export_data($channel, $resource, false);
+ $sync = attach_export_data($channel, $resource, (($delete) ? true : false));
if ($sync) {
Libsync::build_sync_packet($channel_id, ['file' => [$sync]]);