liquid_feedback_frontend

diff app/main/admin/_action/member_update.lua @ 590:ae7649ddccf4

Make it possible to set an member inactive, display activation status and lock status seperately in admin member list
author bsw
date Thu Jun 21 17:22:25 2012 +0200 (2012-06-21)
parents c5878a5d7dc7
children cb5bac9da089
line diff
     1.1 --- a/app/main/admin/_action/member_update.lua	Thu Jun 21 17:15:37 2012 +0200
     1.2 +++ b/app/main/admin/_action/member_update.lua	Thu Jun 21 17:22:25 2012 +0200
     1.3 @@ -8,6 +8,10 @@
     1.4  if locked ~= nil then
     1.5    member.locked = locked
     1.6  end
     1.7 +local deactivate = param.get("deactivate", atom.boolean)
     1.8 +if deactivate then
     1.9 +  member.active = false
    1.10 +end
    1.11  local login = param.get("login")
    1.12  if login then
    1.13    member.login = login

Impressum / About Us