Changeset 1865 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 8 Jun 2007, 08:46:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/delete_course_result.py
r1853 r1865 21 21 logger = logging.getLogger('Skins.delete_course_result') 22 22 mtool = context.portal_membership 23 wf = context.portal_workflow 23 24 member = mtool.getAuthenticatedMember() 24 25 … … 31 32 if context.hasObject(id): 32 33 real_ids.append(id) 34 for cr_id in real_ids: 35 cr = getattr(context,cr_id) 36 if wf.getInfoFor(cr,'review_state',None) == "closed": 37 context.portal_workflow.doActionFor(cr,'open') 33 38 if real_ids: 34 39 try:
Note: See TracChangeset for help on using the changeset viewer.