diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-04-08 14:01:56 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-04-08 14:01:56 +0100 |
commit | 7e2f971c08250cf432d43dd6244faefb2074ff8c (patch) | |
tree | aa3987ef26f11dc98651a28c587ecb63155e8156 /synapse/storage/_base.py | |
parent | Merge pull request #710 from matrix-org/markjh/move_fire (diff) | |
download | synapse-7e2f971c08250cf432d43dd6244faefb2074ff8c.tar.xz |
Remove some unused functions (#711)
* Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 04d7fcf6d6..1e27c2c0ce 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -810,12 +810,6 @@ class SQLBaseStore(object): return txn.execute(sql, keyvalues.values()) - def get_next_stream_id(self): - with self._next_stream_id_lock: - i = self._next_stream_id - self._next_stream_id += 1 - return i - def _get_cache_dict(self, db_conn, table, entity_column, stream_column, max_value): # Fetch a mapping of room_id -> max stream position for "recent" rooms. |