Revision: 1527 http://trac.macosforge.org/projects/calendarserver/changeset/1527 Author: cdaboo@apple.com Date: 2007-05-15 09:15:23 -0700 (Tue, 15 May 2007) Log Message: ----------- Make sure quotas are enabled by default. Modified Paths: -------------- CalendarServer/trunk/twistedcaldav/config.py Modified: CalendarServer/trunk/twistedcaldav/config.py =================================================================== --- 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)
participants (1)
-
source_changes@macosforge.org