summary refs log tree commit diff
path: root/synapse/storage/room.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-03-02 11:20:51 +0000
committerKegan Dougal <kegan@matrix.org>2015-03-02 11:20:51 +0000
commit377ae369c1275fabdac46fa00c0b2ba238467435 (patch)
tree9c016009913fe27ddb6e0f967c24d5dc4476ee2b /synapse/storage/room.py
parentJOIN state_events rather than parsing unrecognized_keys to pull out member st... (diff)
downloadsynapse-377ae369c1275fabdac46fa00c0b2ba238467435.tar.xz
Wrap all of get_app_service_rooms in a txn.
Diffstat (limited to 'synapse/storage/room.py')
-rw-r--r--synapse/storage/room.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index 6bd0b22ae5..750b17a45f 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -71,16 +71,6 @@ class RoomStore(SQLBaseStore):
             RoomsTable.decode_single_result, query, room_id,
         )
 
-    def get_all_rooms(self):
-        """Retrieve all the rooms.
-
-        Returns:
-            A list of namedtuples containing the room information.
-        """
-        return self._simple_select_list(
-            table="rooms", keyvalues=None, retcols=["room_id"]
-        )
-
     @defer.inlineCallbacks
     def get_rooms(self, is_public):
         """Retrieve a list of all public rooms.