Changeset 13224 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 24 Aug 2015, 15:21:21 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r13103 r13224 486 486 # update CSV files 487 487 update_student_deletion_csvs(student, del_dir) 488 489 # remove global role 490 role_manager = IPrincipalRoleManager(grok.getSite()) 491 role_manager.unsetRoleForPrincipal('waeup.Student', student.student_id) 488 492 return 489 493 -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r13132 r13224 560 560 student.matric_number = matric_number 561 561 except MatNumNotInSource: 562 return _('Matriculation number exists.'), None562 return _('Matriculation number %s exists.' % matric_number), None 563 563 notify(grok.ObjectModifiedEvent(student)) 564 564 self.increaseMatricInteger(student)
Note: See TracChangeset for help on using the changeset viewer.