summary refs log tree commit diff
path: root/synapse/config/repository.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-03 17:10:52 +0000
committerGitHub <noreply@github.com>2020-01-03 17:10:52 +0000
commit98247c4a0e169ee5f201fe5f0e404604d6628566 (patch)
tree9d79a768cb366dbcaad4cc2f83ccd1ed01a3a3a0 /synapse/config/repository.py
parentKill off redundant SynapseRequestFactory (#6619) (diff)
downloadsynapse-98247c4a0e169ee5f201fe5f0e404604d6628566.tar.xz
Remove unused, undocumented "content repo" resource (#6628)
This looks like it got half-killed back in #888.

Fixes #6567.
Diffstat (limited to 'synapse/config/repository.py')
-rw-r--r--synapse/config/repository.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py
index d0205e14b9..7d2dd27fd0 100644
--- a/synapse/config/repository.py
+++ b/synapse/config/repository.py
@@ -156,7 +156,6 @@ class ContentRepositoryConfig(Config):
                 (provider_class, parsed_config, wrapper_config)
             )
 
-        self.uploads_path = self.ensure_directory(config.get("uploads_path", "uploads"))
         self.dynamic_thumbnails = config.get("dynamic_thumbnails", False)
         self.thumbnail_requirements = parse_thumbnail_requirements(
             config.get("thumbnail_sizes", DEFAULT_THUMBNAIL_SIZES)
@@ -231,10 +230,6 @@ class ContentRepositoryConfig(Config):
         #    config:
         #       directory: /mnt/some/other/directory
 
-        # Directory where in-progress uploads are stored.
-        #
-        uploads_path: "%(uploads_path)s"
-
         # The largest allowed upload size in bytes
         #
         #max_upload_size: 10M