From: Tim Düsterhus Date: Wed, 2 Feb 2022 12:46:27 +0000 (+0100) Subject: Fix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php again X-Git-Tag: 5.5.0_Alpha_1~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=78d4111756ff188fddd061e614f9d9f673359d66;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Fix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php again see 3880927fdc5fc427e4b485639d1813c4cb3bee52 --- diff --git a/files/acp/update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php b/files/acp/update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php index 41cc12f..7dc5759 100644 --- a/files/acp/update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php +++ b/files/acp/update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php @@ -32,7 +32,7 @@ if (empty($attachmentIDs)) { return; } -(new AttachmentAction([$attachmentIDs], 'delete'))->executeAction(); +(new AttachmentAction($attachmentIDs, 'delete'))->executeAction(); // If we reached this location we processed at least one attachment. // If this was the final attachment the next iteration will abort this