summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-09-28 14:22:44 +0100
committerMark Haines <mjark@negativecurvature.net>2015-09-28 14:22:44 +0100
commit301141515a75f6925ff458a7de1d84bf7b3960e8 (patch)
treed5aeeadd630bdd8559f320be7c90742f75def41b /synapse/storage/events.py
parentMerge pull request #290 from matrix-org/daniel/synctl (diff)
parentFix scripts-dev/definitions.py argparse options (diff)
downloadsynapse-301141515a75f6925ff458a7de1d84bf7b3960e8.tar.xz
Merge pull request #288 from matrix-org/markjh/unused_definitions
Remove some of the unused definitions from synapse
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 46df6b4d6d..416ef6af93 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -890,22 +890,11 @@ class EventsStore(SQLBaseStore):
 
         return ev
 
-    def _parse_events(self, rows):
-        return self.runInteraction(
-            "_parse_events", self._parse_events_txn, rows
-        )
-
     def _parse_events_txn(self, txn, rows):
         event_ids = [r["event_id"] for r in rows]
 
         return self._get_events_txn(txn, event_ids)
 
-    def _has_been_redacted_txn(self, txn, event):
-        sql = "SELECT event_id FROM redactions WHERE redacts = ?"
-        txn.execute(sql, (event.event_id,))
-        result = txn.fetchone()
-        return result[0] if result else None
-
     @defer.inlineCallbacks
     def count_daily_messages(self):
         """