Bug 825608 - Sets accessTokenDate to the result of the pref; r=jdm

This commit is contained in:
Sankha Narayan Guria 2013-04-02 04:04:00 -04:00
parent e63483552d
commit 23d9a7d741

View File

@ -174,7 +174,7 @@ WifiGeoPositionProvider.prototype = {
if (this.lastRequestPrivate) {
accessTokenDate = gPrivateAccessTime;
} else {
Services.prefs.getIntPref(accessTokenPrefName + ".time");
accessTokenDate = Services.prefs.getIntPref(accessTokenPrefName + ".time");
}
let accessTokenInterval = 1209600; // seconds in 2 weeks