mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Migrate functions to app package (#5106)
* Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
This commit is contained in:
@@ -39,7 +39,7 @@ func GetSiteURL() string {
|
||||
}
|
||||
|
||||
func SetSiteURL(url string) {
|
||||
siteURL = url
|
||||
siteURL = strings.TrimRight(url, "/")
|
||||
}
|
||||
|
||||
func FindConfigFile(fileName string) string {
|
||||
|
||||
Reference in New Issue
Block a user