[Pkg-mozext-commits] [personasplus] 05/76: Remove Survey Code (#36)

David Prévot taffit at moszumanska.debian.org
Fri Aug 4 21:45:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository personasplus.

commit 33a6315580903f54693fc8108df5415713df00c2
Author: derinb <baris at barisderin.com>
Date:   Thu Jul 14 02:21:51 2016 +0300

    Remove Survey Code (#36)
    
    Remove Survey Code
---
 extension/modules/personas.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/extension/modules/personas.js b/extension/modules/personas.js
index 3925587..142ec67 100644
--- a/extension/modules/personas.js
+++ b/extension/modules/personas.js
@@ -334,15 +334,6 @@ var PersonaController = {
         Cu.import("resource://gre/modules/AddonManager.jsm", this);
         this.AddonManager.getAddonByID(PERSONAS_EXTENSION_ID,
             function(aAddon) {
-                var lastversion = this._prefs.get("lastversion");
-                if (Services.vc.compare(aAddon.version, lastversion) > 0) {
-                    Services.obs.addObserver({
-                        observe: function() {
-                            Services.obs.removeObserver(this, "sessionstore-windows-restored", false);
-                            window.openUILinkIn("http://goo.gl/forms/6E2DiOVPNe", "tab");
-                        }
-                    }, "sessionstore-windows-restored", false);
-                }
                 this._prefs.set("lastversion", aAddon.version);
             }.bind(this));
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git



More information about the Pkg-mozext-commits mailing list