liquid_feedback_frontend

changeset 1499:f8a4260841df

Removed auto-support
author bsw
date Tue Mar 24 16:50:16 2020 +0100 (2020-03-24)
parents 50f5b8a97f91
children 71f54c43d7cb
files app/main/initiative/_action/add_support.lua
line diff
     1.1 --- a/app/main/initiative/_action/add_support.lua	Tue Mar 24 16:48:20 2020 +0100
     1.2 +++ b/app/main/initiative/_action/add_support.lua	Tue Mar 24 16:50:16 2020 +0100
     1.3 @@ -1,5 +1,4 @@
     1.4  local initiative = Initiative:new_selector():add_where{ "id = ?", param.get_id()}:single_object_mode():exec()
     1.5 -local auto_support = param.get("auto_support", atom.boolean)
     1.6  
     1.7  local draft_id = param.get("draft_id", atom.integer)
     1.8  
     1.9 @@ -52,9 +51,6 @@
    1.10    supporter.member_id = member.id
    1.11    supporter.initiative_id = initiative.id
    1.12    supporter.draft_id = last_draft.id
    1.13 -  if config.auto_support and auto_support ~= nil then
    1.14 -    supporter.auto_support = auto_support
    1.15 -  end
    1.16    supporter:save()
    1.17  elseif supporter.draft_id ~= last_draft.id then
    1.18    supporter.draft_id = last_draft.id

Impressum / About Us