summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-13 16:58:14 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-13 16:58:14 +0100
commit206eb9fd947ba86060340ba2154d1112570b76cd (patch)
tree2183b24433d95f6f0256ec8cec46ef7fd494eb11 /synapse/app/pusher.py
parentMake email notifs work on the pusher synapse (diff)
downloadsynapse-206eb9fd947ba86060340ba2154d1112570b76cd.tar.xz
Shift some of the state_group methods into the SlavedEventStore
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r--synapse/app/pusher.py45
1 files changed, 0 insertions, 45 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 662cd0dc6b..9d41b62db5 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -23,7 +23,6 @@ from synapse.config.logger import LoggingConfig
 from synapse.config.emailconfig import EmailConfig
 from synapse.http.site import SynapseSite
 from synapse.metrics.resource import MetricsResource, METRICS_PREFIX
-from synapse.storage.state import StateStore
 from synapse.storage.roommember import RoomMemberStore
 from synapse.storage.account_data import AccountDataStore
 from synapse.replication.slave.storage.events import SlavedEventStore
@@ -131,50 +130,6 @@ class PusherSlaveStore(
         DataStore.get_profile_displayname.__func__
     )
 
-    get_state_groups = (
-        DataStore.get_state_groups.__func__
-    )
-
-    _get_state_for_groups = (
-        DataStore._get_state_for_groups.__func__
-    )
-
-    _get_all_state_from_cache = (
-        DataStore._get_all_state_from_cache.__func__
-    )
-
-    get_events_around = (
-        DataStore.get_events_around.__func__
-    )
-
-    _get_events_around_txn = (
-        DataStore._get_events_around_txn.__func__
-    )
-
-    get_state_for_events = (
-        DataStore.get_state_for_events.__func__
-    )
-
-    _get_some_state_from_cache = (
-        DataStore._get_some_state_from_cache.__func__
-    )
-
-    _get_state_group_for_events = (
-        StateStore.__dict__["_get_state_group_for_events"]
-    )
-
-    _get_state_group_for_event = (
-        StateStore.__dict__["_get_state_group_for_event"]
-    )
-
-    _get_state_groups_from_groups = (
-        StateStore.__dict__["_get_state_groups_from_groups"]
-    )
-
-    _get_state_group_from_group = (
-        StateStore.__dict__["_get_state_group_from_group"]
-    )
-
     get_global_account_data_by_type_for_users = (
         AccountDataStore.__dict__["get_global_account_data_by_type_for_users"]
     )