fd
This commit is contained in:
parent
638cb74bb4
commit
89f9c6cf16
1 changed files with 0 additions and 3 deletions
|
@ -574,7 +574,6 @@ def api_comment(v):
|
|||
g.db.add(vote)
|
||||
|
||||
cache.delete_memoized(comment_idlist)
|
||||
cache.delete_memoized(User.commentlisting, v)
|
||||
|
||||
v.comment_count = v.comments.filter(Comment.parent_submission != None).filter_by(is_banned=False, deleted_utc=0).count()
|
||||
g.db.add(v)
|
||||
|
@ -826,7 +825,6 @@ def delete_comment(cid, v):
|
|||
g.db.add(c)
|
||||
|
||||
cache.delete_memoized(comment_idlist)
|
||||
cache.delete_memoized(User.commentlisting, v)
|
||||
|
||||
return {"message": "Comment deleted!"}
|
||||
|
||||
|
@ -848,7 +846,6 @@ def undelete_comment(cid, v):
|
|||
g.db.add(c)
|
||||
|
||||
cache.delete_memoized(comment_idlist)
|
||||
cache.delete_memoized(User.commentlisting, v)
|
||||
|
||||
return {"message": "Comment undeleted!"}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue