same as last commit

master
Aevann 2024-10-26 17:49:40 +03:00
parent b853ad04f4
commit fa2f2d6bc4
1 changed files with 3 additions and 4 deletions

View File

@ -1916,7 +1916,6 @@ def delete_media_post(v):
media.purged_utc = time.time()
g.db.add(media)
if url.startswith(SITE_FULL_VIDEOS):
if media.posterurl:
remove_image_using_link(media.posterurl)
purge_files_in_cloudflare_cache(media.posterurl)