diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-24 00:12:19 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-24 00:12:19 -0800 |
commit | 874cff1a873c306f4174b4910b02de5795a037ca (patch) | |
tree | 51f637505e72b5ce29fdc820a129003fb119ae6f /Zotlabs/Module/Filestorage.php | |
parent | 3bb0efd2cb393decf71fc717ef7e431a9f65d374 (diff) | |
download | volse-hubzilla-874cff1a873c306f4174b4910b02de5795a037ca.tar.gz volse-hubzilla-874cff1a873c306f4174b4910b02de5795a037ca.tar.bz2 volse-hubzilla-874cff1a873c306f4174b4910b02de5795a037ca.zip |
sync packet not generated when deleting a file using the web browser interface
Diffstat (limited to 'Zotlabs/Module/Filestorage.php')
-rw-r--r-- | Zotlabs/Module/Filestorage.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php index 55713027a..5c8557e5a 100644 --- a/Zotlabs/Module/Filestorage.php +++ b/Zotlabs/Module/Filestorage.php @@ -103,6 +103,11 @@ class Filestorage extends \Zotlabs\Web\Controller { attach_delete($owner, $f['hash']); + $sync = attach_export_data($channel, $f['hash'], true); + if($sync) { + build_sync_packet($channel['channel_id'], array('file' => array($sync))); + } + goaway(dirname($url)); } |