fsd
This commit is contained in:
parent
8f3b07ab3f
commit
cd489bfe0a
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ def api_vote_post(post_id, new, v):
|
|||
if post.stickied and post.stickied.startswith("t:") and int(time.time()) > int(post.stickied[2:]):
|
||||
post.stickied = None
|
||||
g.db.add(post)
|
||||
cache.delete_memoized(frontlist)
|
||||
|
||||
try:
|
||||
g.db.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue