bug 699280 - temporarily disable wcap cache,a=philipp
authorPhilipp Kewisch <mozilla@kewis.ch>
Thu, 03 Nov 2011 00:55:06 +0100
changeset 8982 c47c0a0a785e95b631f0cd2ce41b0a7f7a7d494f
parent 8981 faca33ff533f4a3f05a8afc6e817c52ee63e717a
child 8983 e8606afddbea58d62f3ac794b460da204617140a
push id221
push usermozilla@kewis.ch
push dateWed, 02 Nov 2011 23:56:51 +0000
treeherdercomm-beta@e8606afddbea [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;