summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-29 20:10:34 +0100
committerDavid Baker <dave@matrix.org>2016-04-29 20:10:34 +0100
commit35b7b8e4bccd8cfbe44b2ffee97cdee0a48701ba (patch)
tree2301011cd2c1cc9653b3f56ed8af896471da7827 /synapse/push
parentRemove unused arg (diff)
downloadsynapse-35b7b8e4bccd8cfbe44b2ffee97cdee0a48701ba.tar.xz
Remove unused function
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/emailpusher.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py
index 8b105b85c8..c10deded06 100644
--- a/synapse/push/emailpusher.py
+++ b/synapse/push/emailpusher.py
@@ -122,10 +122,6 @@ class EmailPusher(object):
         up logging, measures and guards against multiple instances of it
         being run.
         """
-        last_notifs = yield self.store.get_time_of_latest_push_action_by_room_for_user(
-            self.user_id
-        )
-
         unprocessed = yield self.store.get_unread_push_actions_for_user_in_range(
             self.user_id, self.last_stream_ordering, self.max_stream_ordering
         )