aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-14 14:50:36 -0800
committerzotlabs <mike@macgirvin.com>2017-11-14 14:50:36 -0800
commitd43542dd7a64136626550ba0569b1939b84b8146 (patch)
treef19c6f9716fcc9fe72e573d778bb45eb1c397051 /include/attach.php
parent59caf141d1e271ee4a6e7ab8b66f4070835dde95 (diff)
parent3c3c0ed34269cecdbda1288eab5b63c664a8859c (diff)
downloadvolse-hubzilla-d43542dd7a64136626550ba0569b1939b84b8146.tar.gz
volse-hubzilla-d43542dd7a64136626550ba0569b1939b84b8146.tar.bz2
volse-hubzilla-d43542dd7a64136626550ba0569b1939b84b8146.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 179a57a90..2bb57722b 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -1366,7 +1366,7 @@ function attach_delete($channel_id, $resource, $is_photo = 0) {
return;
}
- $url = get_cloudpath($channel_id, $channel_address, $resource);
+ $url = get_cloud_url($channel_id, $channel_address, $resource);
$object = get_file_activity_object($channel_id, $resource, $url);
// If resource is a directory delete everything in the directory recursive