Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[PLAT-1015] Remove entity manager feature flag (#3619)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored Jun 21, 2023
1 parent 31450e7 commit 646a5eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions packages/common/src/services/audius-backend/AudiusBackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2548,13 +2548,7 @@ export const audiusBackend = ({
console.error(e)
}
try {
if (
await getFeatureEnabled(
FeatureFlags.ENTITY_MANAGER_VIEW_NOTIFICATIONS_ENABLED
)
) {
await audiusLibs.Notifications.viewNotification({})
}
await audiusLibs.Notifications.viewNotification({})
} catch (err) {
console.error(err)
}
Expand Down
2 changes: 0 additions & 2 deletions packages/common/src/services/remote-config/feature-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export enum FeatureFlags {
CHAT_ENABLED = 'chat_enabled',
FAST_CACHE = 'fast_cache',
SAFE_FAST_CACHE = 'safe_fast_cache',
ENTITY_MANAGER_VIEW_NOTIFICATIONS_ENABLED = 'entity_manager_view_notifications_enabled',
PODCAST_CONTROL_UPDATES_ENABLED = 'podcast_control_updates_enabled',
PODCAST_CONTROL_UPDATES_ENABLED_FALLBACK = 'podcast_control_updates_enabled_fallback',
LAZY_USERBANK_CREATION_ENABLED = 'lazy_userbank_creation_enabled',
Expand Down Expand Up @@ -93,7 +92,6 @@ export const flagDefaults: FlagDefaults = {
[FeatureFlags.CHAT_ENABLED]: false,
[FeatureFlags.FAST_CACHE]: false,
[FeatureFlags.SAFE_FAST_CACHE]: false,
[FeatureFlags.ENTITY_MANAGER_VIEW_NOTIFICATIONS_ENABLED]: false,
[FeatureFlags.PODCAST_CONTROL_UPDATES_ENABLED]: false,
[FeatureFlags.PODCAST_CONTROL_UPDATES_ENABLED_FALLBACK]: false,
[FeatureFlags.LAZY_USERBANK_CREATION_ENABLED]: false,
Expand Down

0 comments on commit 646a5eb

Please sign in to comment.