Skip to content

Commit

Permalink
For mozilla-mobile#12184 - Delete unused getDeleteProfileUseCase from…
Browse files Browse the repository at this point in the history
… PocketStoriesService

This was a leftover from when migrating to use a GlobalDependencyProvider.
  • Loading branch information
Mugurell committed May 25, 2022
1 parent 5fc807b commit 6c69146
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ class PocketStoriesService(
appId = pocketStoriesConfig.profile.appId
)
}
internal val getDeleteProfileUseCase = when (pocketStoriesConfig.profile) {
null -> {
logger.debug("Missing profile for sponsored stories")
null
}
else -> spocsUseCases?.DeleteProfile(
context = context,
profileId = pocketStoriesConfig.profile.profileId,
appId = pocketStoriesConfig.profile.appId
)
}

/**
* Entry point to start fetching Pocket stories in the background.
Expand Down

0 comments on commit 6c69146

Please sign in to comment.