MM-10249 Adding plugin ability to intercept posts before they reach the DB. (#8791)

* Adding plugin ability to intercept posts before they reach the DB.

* s/envoked/invoked/
Этот коммит содержится в:
Christopher Speller
2018-05-15 13:33:47 -07:00
коммит произвёл GitHub
родитель fbbe1f7cef
Коммит df6a7f8b19
13 изменённых файлов: 1120 добавлений и 319 удалений

Просмотреть файл

@@ -661,3 +661,7 @@ func (a *App) ExecutePluginCommand(args *model.CommandArgs) (*model.Command, *mo
}
return nil, nil, nil
}
func (a *App) PluginsReady() bool {
return a.PluginEnv != nil && *a.Config().PluginSettings.Enable
}