Commit 439d1087 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove log messages, because is only to debug

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42759 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d755d3e
......@@ -56,9 +56,7 @@ form = context.REQUEST.form\n
portal_type = form.get("portal_type")\n
event_title = form.get("title")\n
start_date = DateTime("%(start_date_year)s/%(start_date_month)s/%(start_date_day)s %(start_date_hour)s:%(start_date_minute)s" % form)\n
context.log(start_date)\n
stop_date = DateTime("%(stop_date_year)s/%(stop_date_month)s/%(stop_date_day)s %(stop_date_hour)s:%(stop_date_minute)s" % form)\n
context.log(stop_date)\n
portal = context.getPortalObject()\n
event = portal.event_module.newContent(portal_type=portal_type, title=event_title)\n
event.setStartDate(start_date)\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment