From 58cf9d832c0e4af82cc27588fcf4442079d9b105 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 27 Feb 2016 12:31:07 +0100 Subject: make attach_delete() return and comment out album rename functionality since this is not supported by the backend at the moment. --- include/attach.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/attach.php b/include/attach.php index 10ff9f13f..de6c506ce 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1314,6 +1314,8 @@ function attach_delete($channel_id, $resource, $is_photo = 0) { ); file_activity($channel_id, $object, $object['allow_cid'], $object['allow_gid'], $object['deny_cid'], $object['deny_gid'], 'update', $notify=1); + + return; } /** -- cgit v1.2.3 From a2fe22412f2c43e723fc93bffc36e23a854c30a0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 27 Feb 2016 16:51:54 +0100 Subject: missing include --- include/attach.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/attach.php b/include/attach.php index de6c506ce..78114b415 100644 --- a/include/attach.php +++ b/include/attach.php @@ -13,6 +13,7 @@ require_once('include/permissions.php'); require_once('include/security.php'); +require_once('include/group.php'); /** * @brief Guess the mimetype from file ending. -- cgit v1.2.3