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/prepare_database.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/prepare_database.py')
-rw-r--r-- | synapse/storage/prepare_database.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py index 00833422af..57f14fd12b 100644 --- a/synapse/storage/prepare_database.py +++ b/synapse/storage/prepare_database.py @@ -30,18 +30,6 @@ SCHEMA_VERSION = 31 dir_path = os.path.abspath(os.path.dirname(__file__)) -def read_schema(path): - """ Read the named database schema. - - Args: - path: Path of the database schema. - Returns: - A string containing the database schema. - """ - with open(path) as schema_file: - return schema_file.read() - - class PrepareDatabaseException(Exception): pass |