summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-02-22 18:23:32 -0600
committerGitHub <noreply@github.com>2018-02-22 18:23:32 -0600
commitd44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd (patch)
tree250e6f64e10631d6e0470e57916d82c897fc8b6a /utils/config.go
parent1b3808f3ecf754876168a9342e18c46d49f32ddf (diff)
downloadchat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.tar.gz
chat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.tar.bz2
chat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.zip
Remove global site url (#8343)
* remove global site url * missed one * revert mysterious change
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/utils/config.go b/utils/config.go
index 0d3047c5d..afb2e758c 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -34,15 +34,6 @@ const (
)
var originalDisableDebugLvl l4g.Level = l4g.DEBUG
-var siteURL = ""
-
-func GetSiteURL() string {
- return siteURL
-}
-
-func SetSiteURL(url string) {
- siteURL = strings.TrimRight(url, "/")
-}
// FindConfigFile attempts to find an existing configuration file. fileName can be an absolute or
// relative path or name such as "/opt/mattermost/config.json" or simply "config.json". An empty