Revision 466cc12c snf-astakos-app/astakos/im/functions.py

b/snf-astakos-app/astakos/im/functions.py
69 69
    AstakosUser, ProjectMembership, ProjectApplication, Project,
70 70
    PendingMembershipError, get_resource_names, new_chain)
71 71
from astakos.im.project_notif import (
72
    membership_change_notify,
72
    membership_change_notify, membership_enroll_notify,
73 73
    application_submit_notify, application_approve_notify,
74 74
    application_deny_notify,
75 75
    project_termination_notify, project_suspension_notify)
......
585 585
        raise PermissionDenied(m)
586 586

  
587 587
    membership.accept()
588
    membership_enroll_notify(project, membership.person)
588 589

  
589
    # TODO send proper notification
590 590
    return membership
591 591

  
592 592
def leave_project_checks(project):

Also available in: Unified diff