Revert "[MM-37013] Async job to fix CRT channel unreads (#18340)" (#19319)

This reverts commit 0da249c651.
Этот коммит содержится в:
Ashish Bhate
2022-01-12 18:51:47 +05:30
коммит произвёл GitHub
родитель d0724d8b00
Коммит a55bd001b4
21 изменённых файлов: 0 добавлений и 622 удалений

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

@@ -30,12 +30,6 @@ func RegisterComplianceInterface(f func(*App) einterfaces.ComplianceInterface) {
complianceInterface = f
}
var fixCRTChannelUnreadsJobInterface func(*Server) tjobs.FixCRTChannelUnreadsJobInterface
func RegisterFixCRTChannelUnreadsJobInterface(f func(*Server) tjobs.FixCRTChannelUnreadsJobInterface) {
fixCRTChannelUnreadsJobInterface = f
}
var dataRetentionInterface func(*App) einterfaces.DataRetentionInterface
func RegisterDataRetentionInterface(f func(*App) einterfaces.DataRetentionInterface) {

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

@@ -1923,10 +1923,6 @@ func (s *Server) initJobs() {
s.Jobs.ExtractContent = jobsExtractContentInterface(s)
}
if fixCRTChannelUnreadsJobInterface != nil {
s.Jobs.FixCRTChannelUnreads = fixCRTChannelUnreadsJobInterface(s)
}
s.Jobs.InitWorkers()
s.Jobs.InitSchedulers()
}