summary refs log tree commit diff
path: root/synapse/storage/client_ips.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-21 11:59:30 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-21 11:59:30 +0100
commit34f56b40fd5644cc8f21f9624ac49e135f05cf97 (patch)
tree88ffa32f90729e47d592399d8cbdc0f7df7a070c /synapse/storage/client_ips.py
parentMerge pull request #939 from matrix-org/rav/get_devices_api (diff)
parentstorage/client_ips: remove some dead code (diff)
downloadsynapse-34f56b40fd5644cc8f21f9624ac49e135f05cf97.tar.xz
Merge branch 'rav/get_devices_api' into develop
Diffstat (limited to 'synapse/storage/client_ips.py')
-rw-r--r--synapse/storage/client_ips.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py
index 365f08650d..e31fa53c3f 100644
--- a/synapse/storage/client_ips.py
+++ b/synapse/storage/client_ips.py
@@ -103,9 +103,6 @@ class ClientIpStore(SQLBaseStore):
 
     @classmethod
     def _get_last_client_ip_by_device_txn(cls, txn, devices, retcols):
-        def where_clause_for_device(d):
-                return
-
         where_clauses = []
         bindings = []
         for (user_id, device_id) in devices: