aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-31 02:35:46 +0200
committergit-marijus <mario@mariovavti.com>2017-07-31 02:35:46 +0200
commit988371be0b2df3f917da67f39814e21f96f9f957 (patch)
tree9c50c8ae45323c0b06e837a9ecc6c9f873fe0404 /include/attach.php
parentb4efe8ad8d91c70bf869259e6764e7e4a079563b (diff)
downloadvolse-hubzilla-988371be0b2df3f917da67f39814e21f96f9f957.tar.gz
volse-hubzilla-988371be0b2df3f917da67f39814e21f96f9f957.tar.bz2
volse-hubzilla-988371be0b2df3f917da67f39814e21f96f9f957.zip
disable file notifications on initial upload for now - it can behave funky when uploading multiple small files at once
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/attach.php b/include/attach.php
index 785969a32..75235d7e1 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -888,9 +888,9 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
}
if($notify) {
- $cloudPath = z_root() . '/cloud/' . $channel['channel_address'] . '/' . $r['0']['display_path'];
- $object = get_file_activity_object($channel['channel_id'], $r['0']['hash'], $cloudPath);
- file_activity($channel['channel_id'], $object, $r['0']['allow_cid'], $r['0']['allow_gid'], $r['0']['deny_cid'], $r['0']['deny_gid'], 'post', $notify);
+ //$cloudPath = z_root() . '/cloud/' . $channel['channel_address'] . '/' . $r['0']['display_path'];
+ //$object = get_file_activity_object($channel['channel_id'], $r['0']['hash'], $cloudPath);
+ //file_activity($channel['channel_id'], $object, $r['0']['allow_cid'], $r['0']['allow_gid'], $r['0']['deny_cid'], $r['0']['deny_gid'], 'post', $notify);
}
return $ret;