liquid_feedback_frontend

view app/main/contact/_action/remove_member.lua @ 1696:446d2798f424

Automatically switch to single unit mode for users having only one unit
author bsw
date Thu Sep 23 17:47:58 2021 +0200 (2021-09-23)
parents 768faea1096d
children
line source
1 local member = app.session.member
2 local other_member = Member:by_id(param.get_id())
4 local contact = Contact:by_pk(member.id, other_member.id)
5 contact:destroy()
7 --slot.put_into("notice", _"Member has been removed from your contacts")

Impressum / About Us