forked from rDrama/rDrama
1
0
Fork 0

remove removing giving 1 coin and approving deducting 1 coin

master
Aevann 2024-02-01 17:56:30 +02:00
parent 5642d4a40f
commit d9be8548be
1 changed files with 0 additions and 6 deletions

View File

@ -1381,9 +1381,6 @@ def remove_post(post_id, v):
cache.delete_memoized(frontlist)
v.pay_account('coins', 1)
g.db.add(v)
for sort in COMMENT_SORTS.keys():
cache.delete(f'post_{post.id}_{sort}')
@ -1418,9 +1415,6 @@ def approve_post(post_id, v):
cache.delete_memoized(frontlist)
v.charge_account('coins', 1)
g.db.add(v)
for sort in COMMENT_SORTS.keys():
cache.delete(f'post_{post.id}_{sort}')