Changeset 5161


Ignore:
Timestamp:
20 Apr 2010, 14:44:54 (15 years ago)
Author:
Henrik Bettermann
Message:

remove some unused lines

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
5 edited

Legend:

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

    r1871 r5161  
    4040student = getattr(students_object, student_id)
    4141info['student'] = student
    42 ##res = context.portal_catalog(id = student_id)
    43 ##if res:
    44 ##    info['review_state'] = res[0].review_state
    4542info['id'] = student_id
    4643info['review_state'] = context.getStudentReviewState()
  • WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py

    r3102 r5161  
    4444student = getattr(students_object, student_id)
    4545info['student'] = student
    46 ##res = context.portal_catalog(id = student_id)
    47 ##if res:
    48 ##    info['review_state'] = res[0].review_state
    4946info['id'] = student_id
    5047info['review_state'] = context.getStudentReviewState()
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py

    r3868 r5161  
    2929logger = logging.getLogger('Skins.getStudentFolderInfo')
    3030from Products.AdvancedQuery import Eq, Between, Le,In
    31 try:
    32     aq_portal = context.portal_catalog.evalAdvancedQuery
    33 except:
    34     aq_portal = context.portal_catalog_real.evalAdvancedQuery
    3531
    3632
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentReviewState.py

    r1870 r5161  
    1717    def set_trace():
    1818        pass
    19 # from Products.AdvancedQuery import Eq, Between, Le,In
    20 # try:
    21 #     aq_portal = context.portal_catalog.evalAdvancedQuery
    22 # except:
    23 #     aq_portal = context.portal_catalog_real.evalAdvancedQuery
    2419if student_id is None:
    2520    student_id = context.getStudentId()
    26 #query = Eq('id',student_id)
    27 #res = aq_portal(query)
    2821res = context.students_catalog(id = student_id)
    2922if not res:
  • WAeUP_SRP/trunk/skins/waeup_student/remove_students.py

    r2958 r5161  
    2121logger = logging.getLogger('Skins.remove_students')
    2222from Products.AdvancedQuery import Eq, Between, Le,In
    23 #aq_portal = context.portal_catalog_real.evalAdvancedQuery
    2423aq_students = context.students_catalog.evalAdvancedQuery
    2524students_folder = context.portal_url.getPortalObject().campus.students
Note: See TracChangeset for help on using the changeset viewer.