diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-14 12:11:57 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-14 12:55:49 +0000 |
commit | 018c7c40c288eb3eed24b92775c33c05ebbedbdb (patch) | |
tree | c382fff378eaf83100dae907928416ee593a3bda /synapse/handlers/deactivate_account.py | |
parent | Fix account_validity incorrect email response content (diff) | |
download | synapse-018c7c40c288eb3eed24b92775c33c05ebbedbdb.tar.xz |
Delete duplicate user deactivation
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/deactivate_account.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py index 602c0e864d..09834a13bd 100644 --- a/synapse/handlers/deactivate_account.py +++ b/synapse/handlers/deactivate_account.py @@ -133,13 +133,6 @@ class DeactivateAccountHandler(BaseHandler): # Mark the user as deactivated. yield self.store.set_user_deactivated_status(user_id, True) - # Remove all information on the user from the account_validity table. - if self._account_validity_enabled: - yield self.store.delete_account_validity_for_user(user_id) - - # Mark the user as deactivated. - yield self.store.set_user_deactivated_status(user_id, True) - defer.returnValue(identity_server_supports_unbinding) @defer.inlineCallbacks |