[Pkg-mozext-commits] [personasplus] 08/09: Revert "Offer survey on upgrade"
David Prévot
taffit at moszumanska.debian.org
Sun May 1 20:46:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit 534773764dd525b9211337142202ff3a07bf9c25
Author: David Prévot <david at tilapin.org>
Date: Sun May 1 16:35:52 2016 -0400
Revert "Offer survey on upgrade"
---
.../0001-Revert-Offer-survey-on-upgrade.patch | 28 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/0001-Revert-Offer-survey-on-upgrade.patch b/debian/patches/0001-Revert-Offer-survey-on-upgrade.patch
new file mode 100644
index 0000000..73cf2b1
--- /dev/null
+++ b/debian/patches/0001-Revert-Offer-survey-on-upgrade.patch
@@ -0,0 +1,28 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <david at tilapin.org>
+Date: Sun, 1 May 2016 16:35:04 -0400
+Subject: Revert "Offer survey on upgrade"
+
+This reverts commit 8a11fbf174845857bbef33e1597ad499e8518fa4.
+---
+ content/personas.js | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/content/personas.js b/content/personas.js
+index 656f96d..57af8ee 100644
+--- a/content/personas.js
++++ b/content/personas.js
+@@ -320,14 +320,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));
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..855552c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Revert-Offer-survey-on-upgrade.patch
--
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