summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-02-23 15:57:41 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-02-23 15:57:41 +0000
commit357fba2c24067796ce89f25636a2541bc9a10752 (patch)
tree937904c9bf2a14e57bb29c35640c20ae2920f24c /synapse/storage/roommember.py
parentAllow @cached-wrapped functions to have a prefill method for setting entries (diff)
downloadsynapse-357fba2c24067796ce89f25636a2541bc9a10752.tar.xz
RoomMemberStore no longer needs a _user_rooms_cache member
Diffstat (limited to '')
-rw-r--r--synapse/storage/roommember.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 33a832483e..58aa376c20 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -35,11 +35,6 @@ RoomsForUser = namedtuple(
 
 class RoomMemberStore(SQLBaseStore):
 
-    def __init__(self, *args, **kw):
-        super(RoomMemberStore, self).__init__(*args, **kw)
-
-        self._user_rooms_cache = {}
-
     def _store_room_member_txn(self, txn, event):
         """Store a room member in the database.
         """