Ignore:
Timestamp:
27 Oct 2007, 21:53:04 (17 years ago)
Author:
Henrik Bettermann
Message:

rebuild getNextInfo.py completely
fetch session from portal properties.xml
change all scripts using getSessionId
remove StudentCourseResult? relevant code from event services
make pay_by_sc.py and interswitch_cb.py work (rebuild both)

Location:
WAeUP_SRP/base/skins/waeup_default
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_default/getSessionId.py

    r2133 r2454  
    1515# must be changed in 2007/2008; should return only the last two digits
    1616
    17 import DateTime
    18 now = DateTime.DateTime()
    19 if now.month() > 11:
    20     s = "%s" % now.year()
    21 else:
    22     s = "%s" % (now.year() - 1)
    23 return s
     17#import DateTime
     18#now = DateTime.DateTime()
     19#if now.month() > 11:
     20#    s = "%s" % now.year()
     21#else:
     22#    s = "%s" % (now.year() - 1)
     23#return s
     24
     25session_id = context.portal_properties.session[2:4]
     26session_str = context.portal_properties.session
     27
     28return [session_id, session_str]
Note: See TracChangeset for help on using the changeset viewer.