Revert changes in __init__

This commit is contained in:
Guillaume Ayoub 2011-04-25 13:35:17 +02:00
parent af285e5db9
commit 78e52d5cf4

View File

@ -56,6 +56,7 @@ VERSION = "git"
def _check(request, function):
"""Check if user has sufficient rights for performing ``request``."""
# If we have no calendar or no acl, don't check rights
if not request._calendar or not request.server.acl:
return function(request)