Fix update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php again
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 2 Feb 2022 12:46:27 +0000 (13:46 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 2 Feb 2022 12:46:27 +0000 (13:46 +0100)
see 3880927fdc5fc427e4b485639d1813c4cb3bee52

files/acp/update_com.woltlab.wcf.conversation_5.5_cleanup_orphaned_attachments.php

index 41cc12fd0ced929c75c825f68bf972f4dbe9b923..7dc5759dac85d886aa587e17d48483577be5f609 100644 (file)
@@ -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