Fixing enterprise commands (#4960)

This commit is contained in:
Christopher Speller
2017-01-04 13:41:15 -05:00
committed by Corey Hulen
parent 3e7a59b7b9
commit 4b1ffcb0bd

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/mattermost/platform/api"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
"github.com/spf13/cobra"
)
@@ -38,4 +39,7 @@ func initDBCommandContext(configFileLocation string) {
api.NewServer()
api.InitStores()
if model.BuildEnterpriseReady == "true" {
api.LoadLicense()
}
}