app/pluginservice: move plugin out from the Channels product (#21697)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5e5769c4ee
Коммит
6c55c4d356
@@ -7,7 +7,6 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/app"
|
||||
"github.com/mattermost/mattermost-server/v6/app/request"
|
||||
"github.com/mattermost/mattermost-server/v6/config"
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
"github.com/mattermost/mattermost-server/v6/shared/i18n"
|
||||
@@ -21,7 +20,7 @@ func initDBCommandContextCobra(command *cobra.Command, readOnlyConfigStore bool)
|
||||
panic(err)
|
||||
}
|
||||
|
||||
a.InitPlugins(request.EmptyContext(a.Log()), *a.Config().PluginSettings.Directory, *a.Config().PluginSettings.ClientDirectory)
|
||||
a.Srv().InitializePluginService()
|
||||
a.DoAppMigrations()
|
||||
|
||||
return a, nil
|
||||
|
||||
Ссылка в новой задаче
Block a user