Delete all attachements in a specific topic
January 10, 2016, 09:40:51 am
I have a huge topic, about 180 pages which i just closed (it's a "Hello" topic), I would like to delete all the attachments in that topic, is there a quick way to do this without browsing all pages? Thank you
Re: Delete all attachements in a specific topic
Reply #1 – January 10, 2016, 10:16:55 am
Admin>Attachments and Avatars>Browse Files Select the ones to remove and click the Remove Selected icon at the bottom right of the page.
Re: Delete all attachements in a specific topic
Reply #8 – January 11, 2016, 09:58:08 am
I just tried on localhost, the first query show the attachments to delete, but the second one gave me an error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a where a.id_msg in (select id_msg from elkarte_messages where id_topic=2219)' at line 1