forked from rDrama/rDrama
remove now-unnecessary line relating to autoflush
parent
8097c16b55
commit
a78157208e
|
@ -110,8 +110,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
try: return votes.count()
|
return votes.count()
|
||||||
except: abort(500)
|
|
||||||
|
|
||||||
target.upvotes = get_vote_count(1, False)
|
target.upvotes = get_vote_count(1, False)
|
||||||
target.downvotes = get_vote_count(-1, False)
|
target.downvotes = get_vote_count(-1, False)
|
||||||
|
|
Loading…
Reference in New Issue