Ignore:
Timestamp:
16 Jun 2014, 08:29:22 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove dependencies on kofacustom.nigeria.

Location:
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/student.py

    r10765 r11687  
    2525from waeup.kofa.students.interfaces import IStudentNavigation
    2626from waeup.kofa.utils.helpers import get_current_principal
    27 from kofacustom.nigeria.students.student import NigeriaStudent
    28 from kofacustom.skeleton.students.interfaces import ICustomStudent
     27from waeup.kofa.students.student import Student
     28from kofacustom.sampleuni.students.interfaces import ICustomStudent
    2929
    3030
    31 class CustomStudent(NigeriaStudent):
     31class CustomStudent(Student):
    3232    """This is a student container for the various objects
    3333    owned by students.
     
    3939    def transcript_enabled(self):
    4040        user = get_current_principal()
    41         if user.id in ('admin', 'isouaba', 'niyi', 'delejason'):
     41        if user.id in ('admin'):
    4242            return True
    4343        return False
Note: See TracChangeset for help on using the changeset viewer.