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 ++ view/tpl/photo_view.tpl | 2 ++ 2 files changed, 4 insertions(+) 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; } /** diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 867a1e87b..bd5e68027 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -36,6 +36,7 @@
+ {{* album renaming is not supported atm.
@@ -49,6 +50,7 @@ {{/if}}
+ *}}
-- cgit v1.2.3