summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-10 14:07:57 +0100
committerErik Johnston <erik@matrix.org>2015-07-10 14:07:57 +0100
commit17bb9a7eb93cdc5534b63d5c2ccf2d978b2bec84 (patch)
tree17096322d0d52d987785060f66029f10a894b9d3
parentAdd bulk insert events API (diff)
downloadsynapse-17bb9a7eb93cdc5534b63d5c2ccf2d978b2bec84.tar.xz
Remove commented out code
-rw-r--r--synapse/storage/events.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index d760acb878..ed7ea38804 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -366,20 +366,6 @@ class EventsStore(SQLBaseStore):
                 txn, event.event_id, context.rejected
             )
 
-        # for hash_alg, hash_base64 in event.hashes.items():
-        #     hash_bytes = decode_base64(hash_base64)
-        #     self._store_event_content_hash_txn(
-        #         txn, event.event_id, hash_alg, hash_bytes,
-        #     )
-
-        # for prev_event_id, prev_hashes in event.prev_events:
-        #     for alg, hash_base64 in prev_hashes.items():
-        #         hash_bytes = decode_base64(hash_base64)
-        #         self._store_prev_event_hash_txn(
-        #             txn, event.event_id, prev_event_id, alg,
-        #             hash_bytes
-        #         )
-
         self._simple_insert_many_txn(
             txn,
             table="event_auth",