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

@@ -26,9 +26,9 @@ type Context struct {
IpAddress string
Path string
Err *model.AppError
siteURL string
teamURLValid bool
teamURL string
siteURL string
T goi18n.TranslateFunc
Locale string
TeamId string