mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 11:14:11 -04:00
Remove code generating comments in configuration file (#12941)
This commit is contained in:
parent
5f4ecf759d
commit
493c2fc44a
41 changed files with 66 additions and 5711 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue