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

Remove spurious txn

parent 4adf93e0
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
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