From 91bfc72a99477b6d611b13e225786e3ca7add10c Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 22 Dec 2017 06:09:33 -0600 Subject: Reduce logging data races, fix MySQL test race condition (#7994) * fix races * revert unintentional change * fix test as intended --- api4/team.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'api4/team.go') diff --git a/api4/team.go b/api4/team.go index e897ea32b..d770aee22 100644 --- a/api4/team.go +++ b/api4/team.go @@ -9,9 +9,7 @@ import ( "net/http" "strconv" - l4g "github.com/alecthomas/log4go" "github.com/mattermost/mattermost-server/model" - "github.com/mattermost/mattermost-server/utils" ) const ( @@ -19,8 +17,6 @@ const ( ) func (api *API) InitTeam() { - l4g.Debug(utils.T("api.team.init.debug")) - api.BaseRoutes.Teams.Handle("", api.ApiSessionRequired(createTeam)).Methods("POST") api.BaseRoutes.Teams.Handle("", api.ApiSessionRequired(getAllTeams)).Methods("GET") api.BaseRoutes.Teams.Handle("/search", api.ApiSessionRequired(searchTeams)).Methods("POST") -- cgit v1.2.3-1-g7c22