diff options
author | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
commit | 51265d546409de12483531773fc1fbc73453ae6e (patch) | |
tree | 924b5be51b320a6fe05784f2495a2bfcfc7a3242 /vendor/github.com/mattermost/platform/model/team.go | |
parent | de4c7804101a47a01d0c9b88ea34d2b153e2b6b9 (diff) | |
download | matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.gz matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.bz2 matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.zip |
Sync with mattermost 2.2.0 release
Diffstat (limited to 'vendor/github.com/mattermost/platform/model/team.go')
-rw-r--r-- | vendor/github.com/mattermost/platform/model/team.go | 9 |
1 files changed, 0 insertions, 9 deletions
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 = "" - } -} |