mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 10:53:31 +00:00
Remove HomeServer.get_datastore() (#12031)
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
This commit is contained in:
1 parent
c1ac2a8135
commit
e24ff8ebe3
230 files changed
+526
-500
No files matched your search
@@ -41,7 +41,7 @@ class ModuleApiTestCase(HomeserverTestCase):
|
||||
]
|
||||
|
||||
def prepare(self, reactor, clock, homeserver):
|
||||
self.store = homeserver.get_datastore()
|
||||
self.store = homeserver.get_datastores().main
|
||||
self.module_api = homeserver.get_module_api()
|
||||
self.event_creation_handler = homeserver.get_event_creation_handler()
|
||||
self.sync_handler = homeserver.get_sync_handler()
|
||||
|
||||
Reference in new issue
Block a user