[CalendarServer-changes] [7628] CalendarServer/branches/users/glyph/quota/twistedcaldav/resource.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 20 11:46:21 PDT 2011
Revision: 7628
http://trac.macosforge.org/projects/calendarserver/changeset/7628
Author: glyph at apple.com
Date: 2011-06-20 11:46:20 -0700 (Mon, 20 Jun 2011)
Log Message:
-----------
use quotaAllowedBytes
Modified Paths:
--------------
CalendarServer/branches/users/glyph/quota/twistedcaldav/resource.py
Modified: CalendarServer/branches/users/glyph/quota/twistedcaldav/resource.py
===================================================================
--- CalendarServer/branches/users/glyph/quota/twistedcaldav/resource.py 2011-06-20 18:46:10 UTC (rev 7627)
+++ CalendarServer/branches/users/glyph/quota/twistedcaldav/resource.py 2011-06-20 18:46:20 UTC (rev 7628)
@@ -2081,7 +2081,7 @@
@return: a C{int} containing the maximum allowed bytes if this
collection is quota-controlled, or C{None} if not quota controlled.
"""
- return config.UserQuota if config.UserQuota != 0 else None
+ return self._newStoreHome.quotaAllowedBytes()
def currentQuotaUse(self, request):
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110620/52085e7c/attachment.html>
More information about the calendarserver-changes
mailing list