rem: if (this.m_userPrefs == null) { this.assureLoggedIn(); 
add: if (!this.m_userPrefs) {  
context:     getUserPreferences:    function( prefName, out_count )    {        try {            if (this.m_userPrefs == null) {                this.assureLoggedIn();                var url = this.getCommandUrl( "get_userprefs" );                url += ("&userid=" + encodeURIComponent(this.userId));                this.m_userPrefs = this.issueSyncRequest(                    url + "&fmt-out=text%2Fxml", stringToXml );            }            var ret = [];            var nodeList = this.m_userPrefs.getElementsByTagName(prefName);            for ( var i = 0; i < nodeList.length; ++i ) {                ret.push( trimString(nodeList.item(i).textContent) );            }            out_count.value = ret.length;            return ret;        }        catch (exc) {            this.logError( exc );            throw exc;        }    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d3c3ffb5053306a22cfb2e99ed88348157a92fc6/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js