forked from MarseyWorld/MarseyWorld
disable pinning comments too
parent
aac17a6daa
commit
d4d53d57d0
|
@ -834,7 +834,7 @@ def undelete_comment(cid, v):
|
|||
@app.post("/pin_comment/<cid>")
|
||||
@auth_required
|
||||
def pin_comment(cid, v):
|
||||
|
||||
abort(403)
|
||||
comment = get_comment(cid, v=v)
|
||||
|
||||
if not comment.stickied:
|
||||
|
@ -877,7 +877,7 @@ def unpin_comment(cid, v):
|
|||
@app.post("/mod_pin/<cid>")
|
||||
@auth_required
|
||||
def mod_pin(cid, v):
|
||||
|
||||
abort(403)
|
||||
comment = get_comment(cid, v=v)
|
||||
|
||||
if not comment.stickied:
|
||||
|
|
Loading…
Reference in New Issue