From 51265d546409de12483531773fc1fbc73453ae6e Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 16 Apr 2016 20:39:43 +0200 Subject: Sync with mattermost 2.2.0 release --- vendor/github.com/mattermost/platform/model/team.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'vendor/github.com/mattermost/platform/model/team.go') diff --git a/vendor/github.com/mattermost/platform/model/team.go b/vendor/github.com/mattermost/platform/model/team.go index d95dea11..9e9eaa25 100644 --- a/vendor/github.com/mattermost/platform/model/team.go +++ b/vendor/github.com/mattermost/platform/model/team.go @@ -232,12 +232,3 @@ func (o *Team) Sanitize() { o.Email = "" o.AllowedDomains = "" } - -func (o *Team) SanitizeForNotLoggedIn() { - o.Email = "" - o.AllowedDomains = "" - o.CompanyName = "" - if !o.AllowOpenInvite { - o.InviteId = "" - } -} -- cgit v1.2.3