1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py
index 8bbc16ba40..364e823cd3 100644
--- a/synapse/config/repository.py
+++ b/synapse/config/repository.py
@@ -84,10 +84,6 @@ class ContentRepositoryConfig(Config):
self.media_store_path = self.ensure_directory(config["media_store_path"])
backup_media_store_path = config.get("backup_media_store_path")
- if backup_media_store_path:
- backup_media_store_path = self.ensure_directory(
- self.backup_media_store_path
- )
synchronous_backup_media_store = config.get(
"synchronous_backup_media_store", False
|