Modified: CalendarServer/trunk/twistedcaldav/config.py (1526 => 1527)
--- CalendarServer/trunk/twistedcaldav/config.py 2007-05-15 16:06:46 UTC (rev 1526)
+++ CalendarServer/trunk/twistedcaldav/config.py 2007-05-15 16:15:23 UTC (rev 1527)
@@ -227,6 +227,12 @@
CalendarPrincipalResource.enableDropBox(self.EnableDropBox)
CalendarPrincipalResource.enableNotifications(self.EnableNotifications)
+ # Handle global quota value
+ from twistedcaldav.directory.calendar import DirectoryCalendarHomeResource
+ from twistedcaldav.resource import CalDAVResource
+ DirectoryCalendarHomeResource.quotaLimit = self.UserQuota
+ CalDAVResource.sizeLimit = self.MaximumAttachmentSize
+
def updateDefaults(self, items):
_mergeData(self._defaults, items)
self.update(items)