summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-02-23 12:35:53 +0000
committerGitHub <noreply@github.com>2022-02-23 12:35:53 +0000
commit5b2b36809fc3543ed0c9ec587398a09f2e176265 (patch)
treeefed3f9982193ddced3e42f11b4b144d62df2515 /synapse/rest/client
parentRemove `HomeServer.get_datastore()` (#12031) (diff)
downloadsynapse-5b2b36809fc3543ed0c9ec587398a09f2e176265.tar.xz
Remove more references to `get_datastore` (#12067)
These have snuck in since #12031 was started.

Also a couple of other cleanups while we're in the area.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/account.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/account.py b/synapse/rest/client/account.py
index 4b217882e8..5587cae98a 100644
--- a/synapse/rest/client/account.py
+++ b/synapse/rest/client/account.py
@@ -904,9 +904,6 @@ class AccountStatusRestServlet(RestServlet):
     def __init__(self, hs: "HomeServer"):
         super().__init__()
         self._auth = hs.get_auth()
-        self._store = hs.get_datastore()
-        self._is_mine = hs.is_mine
-        self._federation_client = hs.get_federation_client()
         self._account_handler = hs.get_account_handler()
 
     async def on_POST(self, request: SynapseRequest) -> Tuple[int, JsonDict]: