summaryrefslogtreecommitdiff
path: root/toolkit/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-20 22:00:59 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-22 13:58:16 +0000
commit5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (patch)
tree36ed652ffb09104d8a10c01261b851329f34882f /toolkit/modules
parent712ca7303b0835772f8abca85ebec981e254a017 (diff)
downloaduxp-5aa65d2aeab36ea8de8129c0babcf70a5e4e662a.tar.gz
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/AppConstants.jsm18
1 files changed, 3 insertions, 15 deletions
diff --git a/toolkit/modules/AppConstants.jsm b/toolkit/modules/AppConstants.jsm
index 40a630a445..4f018355ab 100644
--- a/toolkit/modules/AppConstants.jsm
+++ b/toolkit/modules/AppConstants.jsm
@@ -13,21 +13,9 @@ this.EXPORTED_SYMBOLS = ["AppConstants"];
// Immutable for export.
this.AppConstants = Object.freeze({
- // See this wiki page for more details about channel specific build
- // defines: https://wiki.mozilla.org/Platform/Channel-specific_build_defines
- NIGHTLY_BUILD:
-#ifdef NIGHTLY_BUILD
- true,
-#else
- false,
-#endif
-
- RELEASE_OR_BETA:
-#ifdef RELEASE_OR_BETA
- true,
-#else
- false,
-#endif
+ // These defines are no longer used but kept for compatibility
+ NIGHTLY_BUILD: false,
+ RELEASE_OR_BETA: true,
ACCESSIBILITY:
#ifdef ACCESSIBILITY