[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c8da9f2e9006751631a7fbc46be80aaaec31562f
Author: anonym <anonym@xxxxxxxxxx>
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;
   }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits