Ignore:
Timestamp:
19 Mar 2007, 21:45:44 (18 years ago)
Author:
joachim
Message:

merged changes from trunk to joachim-event-branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/skins/waeup_accommodation/hall_delete.py

    r805 r1596  
    1 ## Script (Python) "folder_delete"
     1## Script (Python) "hall_delete"
    22##bind container=container
    33##bind context=context
     
    1212FIXME: add docstring.
    1313"""
     14
     15import logging
     16logger = logging.getLogger('Skins.hall_delete')
     17member_id = str(context.portal_membership.getAuthenticatedMember())
    1418
    1519from Products.CMFCore.utils import getToolByName
     
    4145    here.manage_delObjects(ids)
    4246    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)))
    4348else:
    4449    message = 'portal_status_message=psm_select_at_least_one_document'
Note: See TracChangeset for help on using the changeset viewer.