summary refs log tree commit diff
path: root/synapse/storage/databases/main/room.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-14 09:25:40 -0400
committerGitHub <noreply@github.com>2020-08-14 09:25:40 -0400
commit6b7ce1d332766bc2da9e99b22a452e0813a2aae3 (patch)
treed50f68fdcbe14e595b119ebb27cf0673b240b560 /synapse/storage/databases/main/room.py
parentConvert misc database code to async (#8087) (diff)
downloadsynapse-6b7ce1d332766bc2da9e99b22a452e0813a2aae3.tar.xz
Remove some unused database functions. (#8085)
Diffstat (limited to 'synapse/storage/databases/main/room.py')
-rw-r--r--synapse/storage/databases/main/room.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/databases/main/room.py b/synapse/storage/databases/main/room.py
index f4008e6221..aef08c7e12 100644
--- a/synapse/storage/databases/main/room.py
+++ b/synapse/storage/databases/main/room.py
@@ -35,10 +35,6 @@ from synapse.util.caches.descriptors import cached
 logger = logging.getLogger(__name__)
 
 
-OpsLevel = collections.namedtuple(
-    "OpsLevel", ("ban_level", "kick_level", "redact_level")
-)
-
 RatelimitOverride = collections.namedtuple(
     "RatelimitOverride", ("messages_per_second", "burst_count")
 )