diff --git a/files/routes/comments.py b/files/routes/comments.py index 308d15e55..1f152db02 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -387,8 +387,6 @@ def comment(v:User): ).one_or_none() if n: g.db.delete(n) - g.db.flush() - if c.parent_post: for sort in COMMENT_SORTS: cache.delete(f'post_{c.parent_post}_{sort}')