Fix reference error
This commit is contained in:
parent
2814d2d5eb
commit
7910dc4b2a
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ def disable_abusing_user(username, queue_name):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Disable the user.
|
# Disable the user.
|
||||||
|
triggers = []
|
||||||
with db_transaction():
|
with db_transaction():
|
||||||
user.enabled = False
|
user.enabled = False
|
||||||
user.save()
|
user.save()
|
||||||
|
|
Reference in a new issue