diff --git a/toolkit/modules/AppConstants.jsm b/toolkit/modules/AppConstants.jsm index 0cfebfafb5c3..e87507a7efd2 100644 --- a/toolkit/modules/AppConstants.jsm +++ b/toolkit/modules/AppConstants.jsm @@ -358,13 +358,6 @@ this.AppConstants = Object.freeze({ false, #endif - MOZ_PHOTON_PREFERENCES: -#ifdef MOZ_PHOTON_PREFERENCES - true, -#else - false, -#endif - MOZ_STYLO: #ifdef MOZ_STYLO true, diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 803162373e3b..37d57907756b 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -510,18 +510,6 @@ project_flag('MOZ_ALLOW_LEGACY_EXTENSIONS', help='Allow legacy browser extensions', default=True, set_as_define=True) -option(env='MOZ_PHOTON_PREFERENCES', - help='Enable Photon preferences', - default=milestone.is_nightly) - -@depends('MOZ_PHOTON_PREFERENCES') -def photon_preferences(value): - if value: - return bool(value) - -set_config('MOZ_PHOTON_PREFERENCES', photon_preferences) -set_define('MOZ_PHOTON_PREFERENCES', photon_preferences) - @depends('MOZ_PLACES', 'MOZ_ANDROID_HISTORY') def check_places_and_android_history(places, android_history): if places and android_history: