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