aboutsummaryrefslogtreecommitdiff
path: root/invite_participants.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-05-26 10:16:55 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-05-26 10:16:55 +0200
commit0eb5d613713942e0eac9fbcaf69ae7d73a2921b5 (patch)
treecdf2e4e275a4e74268fa8eb4a6203af960948e1e /invite_participants.rb
parent09e012e27c8d69bd22996b6069c71c72c7dd9b57 (diff)
possibility to immediately delete users
Diffstat (limited to 'invite_participants.rb')
-rwxr-xr-xinvite_participants.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/invite_participants.rb b/invite_participants.rb
index 7005128..e5db1ea 100755
--- a/invite_participants.rb
+++ b/invite_participants.rb
@@ -26,8 +26,8 @@ load "../dudle.rb"
$d = Dudle.new
unless $cgi.include?("cancel")
- if $cgi.include?("delete_participant_confirm")
- $d.table.delete($cgi["delete_participant_confirm"])
+ if $cgi.include?("deleteuser")
+ $d.table.delete($cgi["edituser"])
elsif $cgi.include?("add_participant")
$d.table.add_participant($cgi["olduser"],$cgi["add_participant"],{})
end