remove unnecessary flush

master
Aevann 2023-07-23 17:41:48 +03:00
parent 69de2382a4
commit d6c250c910
1 changed files with 0 additions and 2 deletions

View File

@ -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}')