Ignore:
Timestamp:
16 Mar 2007, 11:09:14 (18 years ago)
Author:
Henrik Bettermann
Message:

isCourseAdviser fixed

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/isCourseAdviser.py

    r1557 r1562  
    1 ## Script (Python) "isClearanceOfficer"
     1## Script (Python) "isCourseAdviser"
    22##bind container=container
    33##bind context=context
     
    1616mtool = context.portal_membership
    1717roles = mtool.getAuthenticatedMember().getRolesInContext(context)
    18 return str("CourseAdviser" in roles)
    1918return "CourseAdviser" in roles
    2019
Note: See TracChangeset for help on using the changeset viewer.