summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-14 12:11:57 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-14 12:55:49 +0000
commit018c7c40c288eb3eed24b92775c33c05ebbedbdb (patch)
treec382fff378eaf83100dae907928416ee593a3bda /synapse
parentFix account_validity incorrect email response content (diff)
downloadsynapse-018c7c40c288eb3eed24b92775c33c05ebbedbdb.tar.xz
Delete duplicate user deactivation
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/deactivate_account.py7
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