fdsfds
This commit is contained in:
parent
fa7c37c476
commit
6f87871c63
7 changed files with 63 additions and 13 deletions
|
@ -883,7 +883,7 @@ def ban_post(post_id, v):
|
|||
|
||||
cache.delete_memoized(frontlist)
|
||||
|
||||
v.coins += 1
|
||||
v.coins += 2
|
||||
g.db.add(v)
|
||||
|
||||
g.db.commit()
|
||||
|
@ -917,7 +917,7 @@ def unban_post(post_id, v):
|
|||
|
||||
cache.delete_memoized(frontlist)
|
||||
|
||||
v.coins -= 1
|
||||
v.coins -= 2
|
||||
g.db.add(v)
|
||||
|
||||
g.db.commit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue