1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

[PM-19632] Remove security task flag - step 1 (#14904)

* Step 1- remove business logic

* removed dependency

* removed leftover flags
This commit is contained in:
SmithThe4th
2025-06-03 12:20:29 -04:00
committed by GitHub
parent 8a29df64d9
commit 2e66addd6a
6 changed files with 4 additions and 45 deletions

View File

@@ -1203,7 +1203,6 @@ export default class MainBackground {
this.stateProvider,
this.apiService,
this.organizationService,
this.configService,
this.authService,
this.notificationsService,
messageListener,
@@ -1423,9 +1422,7 @@ export default class MainBackground {
this.backgroundSyncService.init();
this.notificationsService.startListening();
if (await this.configService.getFeatureFlag(FeatureFlag.SecurityTasks)) {
this.taskService.listenForTaskNotifications();
}
this.taskService.listenForTaskNotifications();
if (await this.configService.getFeatureFlag(FeatureFlag.EndUserNotifications)) {
this.endUserNotificationService.listenForEndUserNotifications();