summary refs log tree commit diff
path: root/synapse/federation/replication.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 11:45:25 +0000
committerGitHub <noreply@github.com>2018-03-13 11:45:25 +0000
commit9a2d9b478966ff065cfdca9f595cb2d3012a6d22 (patch)
tree21b127372eae5fae7508e38aa9ca55d94e4c36cc /synapse/federation/replication.py
parentMerge pull request #2976 from matrix-org/erikj/replication_registry (diff)
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-9a2d9b478966ff065cfdca9f595cb2d3012a6d22.tar.xz
Merge pull request #2977 from matrix-org/erikj/replication_move_props
Move property setting from ReplicationLayer to base classes
Diffstat (limited to 'synapse/federation/replication.py')
-rw-r--r--synapse/federation/replication.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py
index 62d865ec4b..b8b3a3f933 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -20,8 +20,6 @@ a given transport.
 from .federation_client import FederationClient
 from .federation_server import FederationServer
 
-from .persistence import TransactionActions
-
 import logging
 
 
@@ -47,26 +45,6 @@ class ReplicationLayer(FederationClient, FederationServer):
     """
 
     def __init__(self, hs, transport_layer):
-        self.server_name = hs.hostname
-
-        self.keyring = hs.get_keyring()
-
-        self.transport_layer = transport_layer
-
-        self.federation_client = self
-
-        self.store = hs.get_datastore()
-
-        self.handler = None
-        self.edu_handlers = {}
-        self.query_handlers = {}
-
-        self._clock = hs.get_clock()
-
-        self.transaction_actions = TransactionActions(self.store)
-
-        self.hs = hs
-
         super(ReplicationLayer, self).__init__(hs)
 
     def __str__(self):