1 files changed, 0 insertions, 9 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index 232dcfd9eb..0a68341494 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -127,15 +127,6 @@ class RegistrationStore(SQLBaseStore):
try:
if was_guest:
- txn.execute(
- "UPDATE users SET"
- " password_hash = ?,"
- " upgrade_ts = ?,"
- " is_guest = ?,"
- " admin = ?"
- " WHERE name = ?",
- (password_hash, now, 1 if make_guest else 0, admin, user_id,)
- )
self._simple_update_one_txn(
txn,
"users",
|