bug 699280 - temporarily disable wcap cache,a=philipp
authorPhilipp Kewisch <mozilla@kewis.ch>
Thu, 03 Nov 2011 00:55:06 +0100
changeset 9333 01a98a8c26a518060fae544c4301f46526924f13
parent 9332 e3a8ca5a6614413d6853d94978bfaa8e0a9e031f
child 9334 7a3810fee94870be6b2cadd9ec638687a001c394
push id230
push userbugzilla@standard8.plus.com
push dateTue, 08 Nov 2011 22:55:24 +0000
treeherdercomm-beta@63dad5648415 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs699280
bug 699280 - temporarily disable wcap cache,a=philipp
calendar/providers/wcap/calWcapCalendar.js
--- a/calendar/providers/wcap/calWcapCalendar.js
+++ b/calendar/providers/wcap/calWcapCalendar.js
@@ -150,16 +150,19 @@ calWcapCalendar.prototype = {
                     path.substring(start, end == -1 ? path.length : end));
             }
         }
         return this.uri;
     },
 
     getProperty: function calWcapCalendar_getProperty(aName) {
         switch (aName) {
+            case "cache.supported":
+                return false; // TODO Sorry, but until we implement the new
+                              // calIChangeLog interfaces, we must disable the cache for wcap.
             case "timezones.provider":
                 return ((this.m_session && this.session.isLoggedIn) ? this.session : null);
             case "organizerId":
                 return this.ownerId;
             case "organizerCN":
                 return this.getCalendarProperties("X-S1CS-CALPROPS-COMMON-NAME");
             case "itip.disableRevisionChecks":
                 return true;