rem: this.mCalMgr.deleteCalendarPref(calToRemove, 
add: getCalendarManager().deleteCalendarPref(calToRemove, 
context:     removeCalendar: function (aServer) {        var newCalendars = Array();        var calToRemove = null;        for each (cal in this.mCalendars) {            if (!aServer.equals(cal.uri))                newCalendars.push(cal);            else                calToRemove = cal;        }        if (calToRemove) {            this.mCalendars = newCalendars;            if (this.mPrefPrefix) {                this.mCalMgr.deleteCalendarPref(calToRemove,                                                this.mActivePref);                this.mCalMgr.deleteCalendarPref(calToRemove,                                                this.mDefaultPref);            }               calToRemove.removeObserver(this.mObserverHelper);            this.notifyObservers("onCalendarRemoved", [calToRemove]);        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c046772670fd455b8dab081e134a93e27d57b610/calCompositeCalendar.js/buggy/calendar/providers/composite/calCompositeCalendar.js