mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Properly disabling plugins that are not marked as running. (#11156)
This commit is contained in:
committed by
GitHub
parent
7d77420962
commit
729a7ac0ac
@@ -57,7 +57,7 @@ func (a *App) SyncPluginsActiveState() {
|
||||
}
|
||||
|
||||
// Deactivate any plugins that have been disabled.
|
||||
for _, plugin := range pluginsEnvironment.Active() {
|
||||
for _, plugin := range availablePlugins {
|
||||
// Determine if plugin is enabled
|
||||
pluginId := plugin.Manifest.Id
|
||||
pluginEnabled := false
|
||||
|
||||
Reference in New Issue
Block a user