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:
Joram Wilander
2017-01-19 09:00:13 -05:00
committed by GitHub
parent 61b7226533
commit d3a285e64d
34 changed files with 1974 additions and 1700 deletions

View File

@@ -39,7 +39,7 @@ func GetSiteURL() string {
}
func SetSiteURL(url string) {
siteURL = url
siteURL = strings.TrimRight(url, "/")
}
func FindConfigFile(fileName string) string {