liquid_feedback_frontend

view app/main/contact/_action/remove_member.lua @ 136:166fd10c7e81

fixes bug #234

test if the constructed selector first before adding a paginator
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 21:51:59 2010 +0200 (2010-10-05)
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