From 493c2fc44abcf3457953cc2f6f23509ff7855253 Mon Sep 17 00:00:00 2001 From: Shay Date: Tue, 14 Jun 2022 07:53:42 -0700 Subject: Remove code generating comments in configuration file (#12941) --- synapse/config/appservice.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'synapse/config/appservice.py') diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py index 16f93273b3..00182090b2 100644 --- a/synapse/config/appservice.py +++ b/synapse/config/appservice.py @@ -35,20 +35,6 @@ class AppServiceConfig(Config): self.app_service_config_files = config.get("app_service_config_files", []) self.track_appservice_user_ips = config.get("track_appservice_user_ips", False) - def generate_config_section(cls, **kwargs: Any) -> str: - return """\ - # A list of application service config files to use - # - #app_service_config_files: - # - app_service_1.yaml - # - app_service_2.yaml - - # Uncomment to enable tracking of application service IP addresses. Implicitly - # enables MAU tracking for application service users. - # - #track_appservice_user_ips: true - """ - def load_appservices( hostname: str, config_files: List[str] -- cgit 1.4.1