| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5152|Reply: 1
Collapse the left

How to remove useless orphaned forum attachments

[Copy link]
Post time: 2014-06-03 15:25
| Show all posts |Read mode
does anybody know how to bulk remove attachments from the discuz?
i mean only those which were orphaned ... due to database being restored to an old one or something else...
cause if we restore an old database then all the new attachs are orphaned..
how do we remove them to decrease site size???

 Russia

Post time: 2014-06-04 07:25
| Show all posts
Manually.
View these tables in PhpMyAdmin:
pre_forum_attachment
pre_forum_attachment_1
pre_forum_attachment_2
pre_forum_attachment_3
pre_forum_attachment_4
pre_forum_attachment_5
pre_forum_attachment_6
pre_forum_attachment_7
pre_forum_attachment_8
pre_forum_attachment_9
pre_forum_attachment_unused
pre_portal_attachment
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 10:41 GMT+3 , Processed in 0.023652 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list