diff options
author | Chris <ccbrown112@gmail.com> | 2018-01-05 16:17:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 16:17:57 -0600 |
commit | 591ef9f352efd98a85e6d04c0c9072c4c2987527 (patch) | |
tree | 2768aed148df1fba4a3e6d9c43057cf64199d6a1 /api/general.go | |
parent | fd3fa8f8dcfa5de42a16db9b62e1d6628f43b0fd (diff) | |
download | chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.gz chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.bz2 chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.zip |
Remove utils.ClientCfg and utils.ClientCfgHash (#8041)
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
Diffstat (limited to 'api/general.go')
-rw-r--r-- | api/general.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/general.go b/api/general.go index 0fd289ffb..94da47330 100644 --- a/api/general.go +++ b/api/general.go @@ -9,7 +9,6 @@ import ( "strings" "github.com/mattermost/mattermost-server/model" - "github.com/mattermost/mattermost-server/utils" ) func (api *API) InitGeneral() { @@ -19,7 +18,7 @@ func (api *API) InitGeneral() { } func getClientConfig(c *Context, w http.ResponseWriter, r *http.Request) { - w.Write([]byte(model.MapToJson(utils.ClientCfg))) + w.Write([]byte(model.MapToJson(c.App.ClientConfig()))) } func logClient(c *Context, w http.ResponseWriter, r *http.Request) { |