From d16577a5ea3a6b4f87be1ee41c2c5a793700ab4e Mon Sep 17 00:00:00 2001 From: Edward Lee Date: Tue, 22 Dec 2009 13:46:34 -0800 Subject: [PATCH] Bug 536457 - Include the version when pinging Append a v= to include the version and make it easier to add things in the future. --- services/sync/modules/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index 3dc6bb826b25..a6536b93b57c 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -1104,7 +1104,7 @@ WeaveSvc.prototype = { let now = Math.floor(Date.now() / 1000); let lastPing = Svc.Prefs.get("lastPing", 0); if (now - lastPing > 86400) { // 60 * 60 * 24 - infoURL += "?"; + infoURL += "?v=" + WEAVE_VERSION; Svc.Prefs.set("lastPing", now); }