Fix bug 715890 - useless refresh of the ACL entry during initialization. r=philipp,a=philipp
authorWolfgang Sourdeau <wsourdeau@inverse.ca>
Thu, 12 Jan 2012 21:16:04 +0100
changeset 9788 cb9de3bd086658d4e28dec22a04dfd662181c3bb
parent 9787 977925b81e003622bed18cc1c07da988520322fe
child 9789 00948fc038f172ecc760db42fc93d5d6f3a5e673
push id311
push usermozilla@kewis.ch
push dateThu, 12 Jan 2012 20:17:53 +0000
treeherdercomm-beta@cb9de3bd0866 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp, philipp
bugs715890
Fix bug 715890 - useless refresh of the ACL entry during initialization. r=philipp,a=philipp
calendar/providers/caldav/calDavCalendar.js
--- a/calendar/providers/caldav/calDavCalendar.js
+++ b/calendar/providers/caldav/calDavCalendar.js
@@ -2071,21 +2071,16 @@ calDavCalendar.prototype = {
      */
     completeCheckServerInfo: function caldav_completeCheckServerInfo(aChangeLogListener, aError) {
         if (Components.isSuccessCode(aError)) {
             // "undefined" is a successcode, so all is good
             this.saveCalendarProperties();
             this.mCheckedServerInfo = true;
             this.setProperty("currentStatus", Components.results.NS_OK);
 
-            // try to reread the ACLs
-            if (this.mACLEntry) {
-                this.mACLEntry.refresh();
-            }
-
             if (this.isCached) {
                 this.safeRefresh(aChangeLogListener);
             } else {
                 this.refresh();
             }
         } else {
             this.reportDavError(aError);
             if (this.isCached && aChangeLogListener) {