liquid_feedback_frontend

view app/main/contact/_action/remove_member.lua @ 107:eeb167cf9dc4

add comand line admin tool

started a command line admin tool to help development.
currently supports setting login passwords and list users
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sun Sep 19 01:33:23 2010 +0200 (2010-09-19)
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