summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-21 15:53:41 +0100
committerErik Johnston <erik@matrix.org>2015-05-21 15:53:41 +0100
commit0180bfe4aa97464bd86efd702348fcd412f3006f (patch)
treedb5571156d5410ed4281a6e2f21944ce3e390fa8 /synapse/storage
parentOnly get non-state (diff)
downloadsynapse-0180bfe4aa97464bd86efd702348fcd412f3006f.tar.xz
Remove dead code
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_federation.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index 8188b7cbc4..8a56476f56 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -390,11 +390,6 @@ class EventFederationStore(SQLBaseStore):
         queue = PriorityQueue()
 
         for event_id in event_list:
-            txn.execute(
-                query,
-                (room_id, event_id, limit - len(event_results))
-            )
-
             depth = self._simple_select_one_onecol_txn(
                 txn,
                 table="events",