From 648f333850163efeac486c4b07eb47da415a9c98 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Thu, 29 Jun 2017 22:39:57 +0800 Subject: [PLT-6496] Remove System Console and config settings for image height and width (#6688) * remove System Console and config settings for image height and width * add constants and update config.json * updated as per review --- utils/config.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'utils') diff --git a/utils/config.go b/utils/config.go index b3506ec33..8b096b6ea 100644 --- a/utils/config.go +++ b/utils/config.go @@ -452,8 +452,6 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableFileAttachments"] = strconv.FormatBool(*c.FileSettings.EnableFileAttachments) props["EnablePublicLink"] = strconv.FormatBool(c.FileSettings.EnablePublicLink) - props["ProfileHeight"] = fmt.Sprintf("%v", c.FileSettings.ProfileHeight) - props["ProfileWidth"] = fmt.Sprintf("%v", c.FileSettings.ProfileWidth) props["WebsocketPort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketPort) props["WebsocketSecurePort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketSecurePort) -- cgit v1.2.3-1-g7c22