Changeset 1140 for WAeUP_SRP/trunk/skins
- Timestamp:
- 27 Dec 2006, 21:51:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py
r1133 r1140 11 11 info = context.getAccommodationInfo() 12 12 13 import logging 14 logger = logging.getLogger('Student.Accommodation.Reserve') 15 16 #if info is None: 17 # return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 18 13 19 if info is None: 14 return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 20 member_id = str(context.portal_membership.getAuthenticatedMember()) 21 logger.info('"%s","tried to reserve accommodation"' % (member_id)) 22 return context.REQUEST.RESPONSE.redirect("%s/srp_invalid_access" % context.portal_url()) 15 23 16 24 student = info['student']
Note: See TracChangeset for help on using the changeset viewer.