Skip to content
Snippets Groups Projects
Commit be3548f7 authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove spurious txn

parent 4adf93e0
Branches
Tags
No related merge requests found
...@@ -127,15 +127,6 @@ class RegistrationStore(SQLBaseStore): ...@@ -127,15 +127,6 @@ class RegistrationStore(SQLBaseStore):
try: try:
if was_guest: 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( self._simple_update_one_txn(
txn, txn,
"users", "users",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment