RSS Feed/News How can I delete unnecessary attachments?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,624
Points
823

Reputation:

After restoring the forum from an old backup, it turned out that the data of the attachments in the file system and the database are different (parameter data_id). I wrote a program that solved this problem. It looked something like this -

Code:

Code:
610997-4ea286b8fcbb24f986b049a468ed9727.data - 200
610998-54f79ca91f179671e7ce8e0da17839c8.data - 200
610999-3a8fbf944694bd9c6f6e582d9fed1384.data - 200
611000-133338ef0ce55ba636177de663b0a734.data - 200
611001-edc9eec0dad0e0a00e7662cac4ab72db.data -...

Read more

Continue reading...
 
Status
Not open for further replies.
Top