[Pkg-mozext-commits] [wot] 125/226: Added "version" cookie

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:43 UTC 2015


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

taffit pushed a commit to branch master
in repository wot.

commit 22b106ce833f1a699c2691abe786100fe79f6b00
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Tue Aug 27 11:41:19 2013 +0300

    Added "version" cookie
---
 content/my.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/content/my.js b/content/my.js
index c015b73..67447e1 100644
--- a/content/my.js
+++ b/content/my.js
@@ -63,6 +63,7 @@ var wot_my_session =
 				mgr.remove(WOT_MY_COOKIE_DOMAIN, "reload", "/", false);
 				mgr.remove(WOT_MY_COOKIE_DOMAIN, "accessible", "/", false);
 				mgr.remove(WOT_MY_COOKIE_DOMAIN, "partner", "/", false);
+				mgr.remove(WOT_MY_COOKIE_DOMAIN, "version", "/", false);
 			}
 		} catch (e) {
 			dump("wot_my_session.clear: failed with " + e + "\n");
@@ -165,6 +166,7 @@ var wot_my_session =
 			/* Always set these cookies */
 			this.setcookie("accessible", wot_prefs.accessible);
 			this.setcookie("partner", wot_partner.getpartner() || "");
+			this.setcookie("version", WOT_VERSION);
 
 			/* If it has been WOT_MY_SESSION_LENGTH seconds since the
 				session was last updated, force an update */

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



More information about the Pkg-mozext-commits mailing list