Skip to content
Snippets Groups Projects
Unverified Commit 10f9e35b authored by Brendan Abolivier's avatar Brendan Abolivier Committed by GitHub
Browse files

Merge pull request #5493 from matrix-org/babolivier/deactivate_bg_job_typo

Fix typo in deactivation background job
parents 8fcd2ca9 092e3645
No related branches found
No related tags found
No related merge requests found
Track deactivated accounts in the database.
......@@ -662,7 +662,7 @@ class RegistrationStore(
for user in rows:
if not user["count_tokens"] and not user["count_threepids"]:
self.set_user_deactivated_status_txn(txn, user["user_id"], True)
self.set_user_deactivated_status_txn(txn, user["name"], True)
rows_processed_nb += 1
logger.info("Marked %d rows as deactivated", rows_processed_nb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment