fds
This commit is contained in:
parent
c50cb5ca30
commit
c0d8490df3
6 changed files with 18 additions and 4 deletions
|
@ -1003,6 +1003,7 @@ def shadowban(user_id, v):
|
|||
parent_submission=None,
|
||||
level=1,
|
||||
body_html=body_html,
|
||||
distinguish_level=6
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
g.db.flush()
|
||||
|
@ -1184,6 +1185,7 @@ def ban_user(user_id, v):
|
|||
parent_submission=None,
|
||||
level=1,
|
||||
body_html=body_html,
|
||||
distinguish_level=6
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
g.db.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue