rem: var calendarID = this.findCalendarID(calendar); 
add: var calendarID = calendar.id; 
context:     unregisterCalendar: function(calendar) {        this.notifyObservers("onCalendarUnregistering", [calendar]);        var calendarID = this.findCalendarID(calendar);        var pp = this.mUnregisterCalendar.params;        pp.id = calendarID;        this.mUnregisterCalendar.step();        this.mUnregisterCalendar.reset();        // delete prefs for the calendar too        pp = this.mDeletePrefs.params;        pp.calendar = calendarID;        this.mDeletePrefs.step();        this.mDeletePrefs.reset();        delete this.mCache[calendarID];    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/5c2eff62f489d5c91d466c614db49972e886f55c/calCalendarManager.js/buggy/calendar/base/src/calCalendarManager.js