From d3a285e64d051aa8d5c4c9854597dfbcce107675 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 19 Jan 2017 09:00:13 -0500 Subject: 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 --- api/slackimport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/slackimport.go') diff --git a/api/slackimport.go b/api/slackimport.go index 9d432b987..a7d50b1b9 100644 --- a/api/slackimport.go +++ b/api/slackimport.go @@ -413,7 +413,7 @@ func SlackUploadFile(sPost SlackPost, uploads map[string]*zip.File, teamId strin } func deactivateSlackBotUser(user *model.User) { - _, err := UpdateActive(user, false) + _, err := app.UpdateActive(user, false) if err != nil { l4g.Warn(utils.T("api.slackimport.slack_deactivate_bot_user.failed_to_deactivate", err)) } -- cgit v1.2.3-1-g7c22