forked from MarseyWorld/MarseyWorld
remove unnecessary flush
parent
69de2382a4
commit
d6c250c910
|
@ -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}')
|
||||
|
|
Loading…
Reference in New Issue