Revert "Merge: t-paliad-133 — Fristenrechner v3 (Pathway A/B fork + B1 decision tree + B2 forum filter + retire legacy tabs)"
This reverts commitf7d72ff1d3, reversing changes made to1ea983f0c7.
This commit is contained in:
@@ -143,7 +143,6 @@ func main() {
|
||||
Fristenrechner: services.NewFristenrechnerService(rules, holidays),
|
||||
EventDeadline: services.NewEventDeadlineService(pool, services.NewDeadlineCalculator(holidays), holidays),
|
||||
DeadlineSearch: services.NewDeadlineSearchService(pool),
|
||||
EventCategory: nil, // wired below; cross-link order matters
|
||||
EventType: eventTypeSvc,
|
||||
Dashboard: services.NewDashboardService(pool, users),
|
||||
Note: services.NewNoteService(pool, projectSvc, appointmentSvc),
|
||||
@@ -156,12 +155,6 @@ func main() {
|
||||
Link: services.NewLinkService(pool),
|
||||
Event: services.NewEventService(pool, deadlineSvc, appointmentSvc),
|
||||
}
|
||||
// v3 (t-paliad-133): wire EventCategoryService and cross-link
|
||||
// it into DeadlineSearchService so ?event_category_slug= can
|
||||
// resolve to a concept-id allow-list during search.
|
||||
eventCategorySvc := services.NewEventCategoryService(pool)
|
||||
svcBundle.EventCategory = eventCategorySvc
|
||||
svcBundle.DeadlineSearch.SetEventCategoryService(eventCategorySvc)
|
||||
log.Println("Phase B services initialised")
|
||||
|
||||
// Spawn background goroutines: CalDAV sync (one per enabled user)
|
||||
|
||||
Reference in New Issue
Block a user