[MM-41200] Add OnSendDailyTelemetry() plugin hook (#19387)

Этот коммит содержится в:
Ben Schumacher
2022-02-10 06:20:00 +01:00
коммит произвёл GitHub
родитель 7c9708ef49
Коммит 0d67995eb4
6 изменённых файлов: 98 добавлений и 1 удалений

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

@@ -902,6 +902,11 @@ func (ts *TelemetryService) trackPlugins() {
"plugins_with_settings": settingsCount,
"plugins_with_broken_manifests": brokenManifestCount,
})
pluginsEnvironment.RunMultiPluginHook(func(hooks plugin.Hooks) bool {
hooks.OnSendDailyTelemetry()
return true
}, plugin.OnSendDailyTelemetryID)
}
func (ts *TelemetryService) trackServer() {