[Pkg-mozext-commits] [adblock-plus] 45/87: Issue 3836 - Don't set DownloadableSubscription.upgradeRequired in Synchronizer
David Prévot
taffit at moszumanska.debian.org
Sat Apr 30 17:59:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit ed0acc5fe8b731f4c94c392801900da3dbf926bb
Author: Wladimir Palant <trev at adblockplus.org>
Date: Fri Mar 18 13:30:48 2016 +0100
Issue 3836 - Don't set DownloadableSubscription.upgradeRequired in Synchronizer
---
lib/synchronizer.js | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/lib/synchronizer.js b/lib/synchronizer.js
index cd247ea..1abb6f1 100644
--- a/lib/synchronizer.js
+++ b/lib/synchronizer.js
@@ -239,15 +239,10 @@ var Synchronizer = exports.Synchronizer =
subscription.softExpiration = Math.round(softExpiration / MILLIS_IN_SECOND);
subscription.expires = Math.round(hardExpiration / MILLIS_IN_SECOND);
- delete subscription.requiredVersion;
- delete subscription.upgradeRequired;
if (minVersion)
- {
- let {addonVersion} = require("info");
subscription.requiredVersion = minVersion;
- if (Services.vc.compare(minVersion, addonVersion) > 0)
- subscription.upgradeRequired = true;
- }
+ else
+ delete subscription.requiredVersion;
// Process filters
lines.shift();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list