diff --git a/config.go b/config.go index 61c3cb7..3473194 100644 --- a/config.go +++ b/config.go @@ -338,13 +338,6 @@ func (u *UserSettings) ReloadConfigs() { u.doLoadConfigs() } -// ReloadConfigs clears the cached config data and freshly loads the config -// files again. -func (u *UserSettings) ReloadConfigs() { - u.loadConfigs = new(sync.Once) - u.doLoadConfigs() -} - func parseFile(filename string, ignoreMatchDirective bool) (*Config, error) { return parseWithDepth(filename, ignoreMatchDirective, 0) }