summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-07-05 12:59:42 +0100
committerGitHub <noreply@github.com>2019-07-05 12:59:42 +0100
commita6a776f3d80e441d416c384b7ad9344ee1967d31 (patch)
treecfd8c0a1354dbf06d8b4c9a082249b9ed1e05be3 /synapse/storage
parentFixes to the federation rate limiter (#5621) (diff)
downloadsynapse-a6a776f3d80e441d416c384b7ad9344ee1967d31.tar.xz
remove dead transaction persist code (#5622)
this hasn't done anything for years
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/transactions.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index b1188f6bcb..fd18619178 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -133,34 +133,6 @@ class TransactionStore(SQLBaseStore):
             desc="set_received_txn_response",
         )
 
-    def prep_send_transaction(self, transaction_id, destination, origin_server_ts):
-        """Persists an outgoing transaction and calculates the values for the
-        previous transaction id list.
-
-        This should be called before sending the transaction so that it has the
-        correct value for the `prev_ids` key.
-
-        Args:
-            transaction_id (str)
-            destination (str)
-            origin_server_ts (int)
-
-        Returns:
-            list: A list of previous transaction ids.
-        """
-        return defer.succeed([])
-
-    def delivered_txn(self, transaction_id, destination, code, response_dict):
-        """Persists the response for an outgoing transaction.
-
-        Args:
-            transaction_id (str)
-            destination (str)
-            code (int)
-            response_json (str)
-        """
-        pass
-
     @defer.inlineCallbacks
     def get_destination_retry_timings(self, destination):
         """Gets the current retry timings (if any) for a given destination.