Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Bug 1566142 - Pref change for DS #5184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/ActivityStream.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,9 @@ const PREFS_CONFIG = new Map([
CA: ["en-CA", "en-GB", "en-US", "en-ZA"],
}[geo];

// Enable for US/en-US in all channels.
// Enable for specific geos and locales for Nightly.
const isEnabled =
(geo === `US` && locale === `en-US`) ||
(IS_NIGHTLY_OR_UNBRANDED_BUILD &&
locales &&
locales.includes(locale));
IS_NIGHTLY_OR_UNBRANDED_BUILD && locales && locales.includes(locale);

return JSON.stringify({
api_key_pref: "extensions.pocket.oAuthConsumerKey",
Expand Down