liquid_feedback_frontend

view app/main/admin/_action/member_deactivate.lua @ 1412:b42bea44f26c

Sorting unit names in registration form
author bsw
date Mon Aug 20 18:43:17 2018 +0200 (2018-08-20)
parents 5b6082e9bd5c
children
line source
1 local sure = param.get("sure")
3 if sure ~= "yes" then
4 slot.select("error", function()
5 ui.tag{ content = _"You need to confirm to deactivate!" }
6 end)
7 return false
8 end
10 local id = param.get_id()
11 local clean = param.get("clean")
13 local member = Member:by_id(id)
15 member:delete()
17 slot.select("notice", function()
18 ui.tag{ content = _"Member successfully deactivated" }
19 end )

Impressum / About Us