Ignore:
Timestamp:
5 Jan 2007, 08:38:34 (18 years ago)
Author:
joachim
Message:

try to increase performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py

    r1186 r1199  
    4040#info['id'] = student_id
    4141#info['student'] = student
    42 res = context.portal_catalog(portal_type='Student',id = student_id)
    43 if res:
    44     info['review_state'] = res[0].review_state
    45 #info['review_state'] = wf.getInfoFor(student,'review_state',None)
     42##res = context.portal_catalog(id = student_id)
     43##if res:
     44##    info['review_state'] = res[0].review_state
     45info['review_state'] = wf.getInfoFor(student,'review_state',None)
    4646#info['per'] = student.personal
    4747info['per_doc'] = student.personal.getContent()
Note: See TracChangeset for help on using the changeset viewer.