aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-13 19:55:09 +0100
committerMario <mario@mariovavti.com>2017-11-13 19:57:53 +0100
commitd893eb67b80b123a9a5dc88e065211d5cbd7560a (patch)
treeeb0147848d3ac9d6d6b02e4e15aeba1f8e54302f
parent1ef558d7e6dace480a2e705dd484b416ca2f02e6 (diff)
downloadvolse-hubzilla-d893eb67b80b123a9a5dc88e065211d5cbd7560a.tar.gz
volse-hubzilla-d893eb67b80b123a9a5dc88e065211d5cbd7560a.tar.bz2
volse-hubzilla-d893eb67b80b123a9a5dc88e065211d5cbd7560a.zip
fix php warnings on photo delete
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 78e133b03..e1db67af4 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -1312,7 +1312,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