diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-30 14:54:06 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-30 14:54:06 +0000 |
commit | e97f756a05519f9d5a8a6ff78182b691dd1355df (patch) | |
tree | 0666413e4e59ffe0b91bd3dea800718eff56f67d /synapse/storage | |
parent | Unused import (diff) | |
download | synapse-e97f756a05519f9d5a8a6ff78182b691dd1355df.tar.xz |
Use 'in' to test if the key exists, remove unused _filters_for_user
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/filtering.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/filtering.py b/synapse/storage/filtering.py index cb01c2040f..e86eeced45 100644 --- a/synapse/storage/filtering.py +++ b/synapse/storage/filtering.py @@ -20,10 +20,6 @@ from ._base import SQLBaseStore import json -# TODO(paul) -_filters_for_user = {} - - class FilteringStore(SQLBaseStore): @defer.inlineCallbacks def get_user_filter(self, user_localpart, filter_id): |