diff options
author | David Baker <dave@matrix.org> | 2016-03-11 14:29:01 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-03-11 14:29:01 +0000 |
commit | f523177850df7fbe480086b281f09815f3d5c656 (patch) | |
tree | 5e19b61ef6649410c08fbea6160cd36c388e5dcf /synapse/handlers | |
parent | Dear PyCharm, please indent sensibly for me. Thx. (diff) | |
download | synapse-f523177850df7fbe480086b281f09815f3d5c656.tar.xz |
Delete old, unused methods and rename new one to just be `user_delete_access_tokens` with an `except_token_ids` argument doing what it says on the tin.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index 0f02493fa2..43f2cdc2c4 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -438,7 +438,7 @@ class AuthHandler(BaseHandler): except_access_token_ids = [requester.access_token_id] if requester else [] yield self.store.user_set_password_hash(user_id, password_hash) - yield self.store.user_delete_access_tokens_except( + yield self.store.user_delete_access_tokens( user_id, except_access_token_ids ) yield self.hs.get_pusherpool().remove_pushers_by_user_except_access_tokens( |