summary refs log tree commit diff
path: root/synapse/rest/media/v1/download_resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-12 11:24:05 +0000
committerErik Johnston <erik@matrix.org>2018-01-12 11:24:05 +0000
commitc6c009603cd72c2dfd777658b871dc66b08f7aa4 (patch)
tree2b3d5b1c5a7b1b94e698eda9f768a0cbc252a624 /synapse/rest/media/v1/download_resource.py
parentMake class var local (diff)
downloadsynapse-c6c009603cd72c2dfd777658b871dc66b08f7aa4.tar.xz
Remove unused variables
Diffstat (limited to 'synapse/rest/media/v1/download_resource.py')
-rw-r--r--synapse/rest/media/v1/download_resource.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/download_resource.py b/synapse/rest/media/v1/download_resource.py
index 5dc92972cf..3443db91ca 100644
--- a/synapse/rest/media/v1/download_resource.py
+++ b/synapse/rest/media/v1/download_resource.py
@@ -32,11 +32,8 @@ class DownloadResource(Resource):
     def __init__(self, hs, media_repo):
         Resource.__init__(self)
 
-        self.filepaths = media_repo.filepaths
         self.media_repo = media_repo
         self.server_name = hs.hostname
-        self.store = hs.get_datastore()
-        self.version_string = hs.version_string
         self.clock = hs.get_clock()
 
     def render_GET(self, request):