summary refs log tree commit diff
path: root/synapse/rest/admin/event_reports.py
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-12-08 17:59:40 +0100
committerGitHub <noreply@github.com>2021-12-08 16:59:40 +0000
commit7ecaa3b976b04dc5b2c6786aa18845016b80dd01 (patch)
treeb66e9caab3e56bbca80b2526322e92b616a292c0 /synapse/rest/admin/event_reports.py
parentDocument the usage of refresh tokens. (#11427) (diff)
downloadsynapse-7ecaa3b976b04dc5b2c6786aa18845016b80dd01.tar.xz
Clean up `synapse.rest.admin` (#11535)
Diffstat (limited to 'synapse/rest/admin/event_reports.py')
-rw-r--r--synapse/rest/admin/event_reports.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/admin/event_reports.py b/synapse/rest/admin/event_reports.py
index 5ee8b11110..38477f8ead 100644
--- a/synapse/rest/admin/event_reports.py
+++ b/synapse/rest/admin/event_reports.py
@@ -52,7 +52,6 @@ class EventReportsRestServlet(RestServlet):
     PATTERNS = admin_patterns("/event_reports$")
 
     def __init__(self, hs: "HomeServer"):
-        self.hs = hs
         self.auth = hs.get_auth()
         self.store = hs.get_datastore()
 
@@ -115,7 +114,6 @@ class EventReportDetailRestServlet(RestServlet):
     PATTERNS = admin_patterns("/event_reports/(?P<report_id>[^/]*)$")
 
     def __init__(self, hs: "HomeServer"):
-        self.hs = hs
         self.auth = hs.get_auth()
         self.store = hs.get_datastore()