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.
This commit is contained in:
Richard van der Hoff 2022-02-23 12:35:53 +00:00 committed by GitHub
parent e24ff8ebe3
commit 5b2b36809f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -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]: