[StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed files
Sometimes different posts are associated with the same file, that case wasn't considered Thanks to XRevan86 for spotting this issue.
This commit is contained in:
parent
98ebe1f63b
commit
2d20656e22
@ -61,7 +61,7 @@ if (empty($max_date)) {
|
||||
}
|
||||
|
||||
$query = "
|
||||
SELECT
|
||||
SELECT DISTINCT
|
||||
file_to_post.file_id
|
||||
FROM
|
||||
file_to_post
|
||||
|
Loading…
Reference in New Issue
Block a user