diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-13 19:55:09 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-13 19:55:09 +0100 |
commit | 5dad44402649db9844d735800300d86a8479b3fa (patch) | |
tree | ebfd85bf8dee14e6b93d9a7e67816d73c47ae2a0 /include/attach.php | |
parent | 217a684e5f0399683b191e7fa9b1a3781fb21196 (diff) | |
download | volse-hubzilla-5dad44402649db9844d735800300d86a8479b3fa.tar.gz volse-hubzilla-5dad44402649db9844d735800300d86a8479b3fa.tar.bz2 volse-hubzilla-5dad44402649db9844d735800300d86a8479b3fa.zip |
fix php warnings on photo delete
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 2 |
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 |