mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
app type transition (#7167)
This commit is contained in:
@@ -28,10 +28,10 @@ func initDBCommandContext(configFileLocation string) error {
|
||||
|
||||
utils.ConfigureCmdLineLog()
|
||||
|
||||
app.NewServer()
|
||||
app.InitStores()
|
||||
app.Global().NewServer()
|
||||
app.Global().InitStores()
|
||||
if model.BuildEnterpriseReady == "true" {
|
||||
app.LoadLicense()
|
||||
app.Global().LoadLicense()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user