summaryrefslogtreecommitdiffstats
path: root/model/license.go
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2018-06-02 06:33:59 +0800
committerGitHub <noreply@github.com>2018-06-02 06:33:59 +0800
commit312edbe5315e97dc25857fc2590266734056af70 (patch)
tree4dc477389e10aa2078651c99bd1e7597276c0e2a /model/license.go
parentebdceb8e529810cd89599b8fbfda0157a659f3b5 (diff)
downloadchat-312edbe5315e97dc25857fc2590266734056af70.tar.gz
chat-312edbe5315e97dc25857fc2590266734056af70.tar.bz2
chat-312edbe5315e97dc25857fc2590266734056af70.zip
[MM-10718] Move custom branding to TE (#8871)
* move custom branding to TE * move brand's enterprise code to server and remove BrandInterface
Diffstat (limited to 'model/license.go')
-rw-r--r--model/license.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/model/license.go b/model/license.go
index b6a6f2ac8..05db063e2 100644
--- a/model/license.go
+++ b/model/license.go
@@ -46,7 +46,6 @@ type Features struct {
Compliance *bool `json:"compliance"`
Cluster *bool `json:"cluster"`
Metrics *bool `json:"metrics"`
- CustomBrand *bool `json:"custom_brand"`
MHPNS *bool `json:"mhpns"`
SAML *bool `json:"saml"`
Elasticsearch *bool `json:"elastic_search"`
@@ -70,7 +69,6 @@ func (f *Features) ToMap() map[string]interface{} {
"compliance": *f.Compliance,
"cluster": *f.Cluster,
"metrics": *f.Metrics,
- "custom_brand": *f.CustomBrand,
"mhpns": *f.MHPNS,
"saml": *f.SAML,
"elastic_search": *f.Elasticsearch,
@@ -119,10 +117,6 @@ func (f *Features) SetDefaults() {
f.Metrics = NewBool(*f.FutureFeatures)
}
- if f.CustomBrand == nil {
- f.CustomBrand = NewBool(*f.FutureFeatures)
- }
-
if f.MHPNS == nil {
f.MHPNS = NewBool(*f.FutureFeatures)
}