- Timestamp:
- 19 Mar 2007, 18:57:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/uli/skins/waeup_accommodation/hall_delete.py
r805 r1593 1 ## Script (Python) " folder_delete"1 ## Script (Python) "hall_delete" 2 2 ##bind container=container 3 3 ##bind context=context … … 12 12 FIXME: add docstring. 13 13 """ 14 15 import logging 16 logger = logging.getLogger('Skins.hall_delete') 17 member_id = str(context.portal_membership.getAuthenticatedMember()) 14 18 15 19 from Products.CMFCore.utils import getToolByName … … 41 45 here.manage_delObjects(ids) 42 46 message = 'portal_status_message=hall(s) %s with %s beds deleted' % (" ".join(halls),len(urls)) 47 logger.info('%s deletes hall(s) %s with %s beds' % (member_id," ".join(halls),len(urls))) 43 48 else: 44 49 message = 'portal_status_message=psm_select_at_least_one_document'
Note: See TracChangeset for help on using the changeset viewer.