summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-01 11:41:29 +0100
committerErik Johnston <erik@matrix.org>2017-06-01 11:41:29 +0100
commit59dbb470654ff812975f888a3ec41537916091ab (patch)
treed37cabec45a707a5323e324aa4f3fa2743f177ab
parentFix removing users (diff)
downloadsynapse-59dbb470654ff812975f888a3ec41537916091ab.tar.xz
Remove spurious inlineCallbacks
-rw-r--r--synapse/storage/user_directory.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py
index 7323d783ac..a251aee465 100644
--- a/synapse/storage/user_directory.py
+++ b/synapse/storage/user_directory.py
@@ -127,7 +127,6 @@ class UserDirectoryStore(SQLBaseStore):
         )
         self.get_user_in_directory.invalidate((user_id,))
 
-    @defer.inlineCallbacks
     def remove_from_user_dir(self, user_id):
         def _remove_from_user_dir_txn(txn):
             self._simple_delete_txn(