mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
bug 372366 - Fix tzid upgrade code. r=mvl
This commit is contained in:
parent
3e4a98ce45
commit
5c27fc3dfb
@ -1183,7 +1183,7 @@ calStorageCalendar.prototype = {
|
||||
icsSvc = Components.classes["@mozilla.org/calendar/ics-service;1"]
|
||||
.getService(Components.interfaces.calIICSService);
|
||||
var latestTzId = icsSvc.latestTzId(tzId);
|
||||
if (tzId != latestTzId) {
|
||||
if ((latestTzId) && (tzId != latestTzId)) {
|
||||
tzIdsToUpdate.push({oldTzId: tzId, newTzId: latestTzId});
|
||||
updateTzIds = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user