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/stats.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'synapse/config/stats.py') diff --git a/synapse/config/stats.py b/synapse/config/stats.py index ed1f416e4f..9621acd77f 100644 --- a/synapse/config/stats.py +++ b/synapse/config/stats.py @@ -46,16 +46,3 @@ class StatsConfig(Config): self.stats_enabled = stats_config.get("enabled", self.stats_enabled) if not self.stats_enabled: logger.warning(ROOM_STATS_DISABLED_WARN) - - def generate_config_section(self, **kwargs: Any) -> str: - return """ - # Settings for local room and user statistics collection. See - # https://matrix-org.github.io/synapse/latest/room_and_user_statistics.html. - # - stats: - # Uncomment the following to disable room and user statistics. Note that doing - # so may cause certain features (such as the room directory) not to work - # correctly. - # - #enabled: false - """ -- cgit 1.4.1