Terminology change: instead of "banning" comments or posts, remove them.
This commit is contained in:
parent
c610c60dc0
commit
2f0a3fc278
8 changed files with 63 additions and 30 deletions
|
@ -194,7 +194,7 @@ def api_comment(v):
|
|||
ma=ModAction(
|
||||
user_id=AUTOJANNY_ID,
|
||||
target_comment_id=comment.id,
|
||||
kind="ban_comment",
|
||||
kind="remove_comment",
|
||||
_note="spam"
|
||||
)
|
||||
g.db.add(ma)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue