From d893eb67b80b123a9a5dc88e065211d5cbd7560a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 13 Nov 2017 19:55:09 +0100 Subject: [PATCH] fix php warnings on photo delete --- include/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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