This reverts commit 0da249c651.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d0724d8b00
Коммит
a55bd001b4
@@ -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()
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user