liquid_feedback_frontend
annotate app/main/contact/_action/remove_member.lua @ 1:dd0109e81922
Version alpha2
Minor bug in bargraph output for suggestions fixed
Minor bug in bargraph output for suggestions fixed
| author | bsw |
|---|---|
| date | Wed Nov 18 12:00:00 2009 +0100 (2009-11-18) |
| parents | 3bfb2fcf7ab9 |
| children | 768faea1096d |
| rev | line source |
|---|---|
| bsw/jbe@0 | 1 local member = app.session.member |
| bsw/jbe@0 | 2 local other_member = Member:by_id(param.get_id()) |
| bsw/jbe@0 | 3 |
| bsw/jbe@0 | 4 local contact = Contact:by_pk(member.id, other_member.id) |
| bsw/jbe@0 | 5 contact:destroy() |
| bsw/jbe@0 | 6 |
| bsw/jbe@0 | 7 slot.put_into("notice", _"Member has been removed from your contacts") |