[tor-commits] [torbirdy/master] Drop special treatment of Tails vs account creation.

sukhbir at torproject.org sukhbir at torproject.org
Wed May 4 17:25:01 UTC 2016


commit c8da9f2e9006751631a7fbc46be80aaaec31562f
Author: anonym <anonym at riseup.net>
Date:   Wed Mar 9 13:53:32 2016 +0100

    Drop special treatment of Tails vs account creation.
    
    The extensions.torbirdy.emailwizard pref is enough for Tails'
    purposes, so let's clean up a bit.
---
 chrome/content/emailwizard.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 2f2a6a7..f3f1abd 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -7,16 +7,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   var prefs = Cc["@mozilla.org/preferences-service;1"]
                 .getService(Ci.nsIPrefBranch);
 
-  // Check if we are running Tails. If yes, disable the manual account
-  // configuration wizard since Tails handles that on its own. See:
-  // https://tails.boum.org/todo/Return_of_Icedove__63__/#index6h2
-  // This is also disabled if "extensions.torbirdy.emailwizard" is true.
   var disableWizard = false;
-  if (prefs.prefHasUserValue("vendor.name")) {
-    if (prefs.getCharPref("vendor.name") === "Tails") {
-      disableWizard = true;
-    }
-  }
   if (prefs.getBoolPref("extensions.torbirdy.emailwizard")) {
     disableWizard = true;
   }





More information about the tor-commits mailing list