diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-01-14 15:18:18 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-01-14 15:18:18 +0000 |
commit | 73a8e2e73165212fc43e642c3f1bf76f2513d4e8 (patch) | |
tree | c26de77c72d5b3b90b2954bb871175d16c7dffcd /web/confirm.cgi | |
parent | 7f834105f3ec090b7e8827460fee4847a65a03c7 (diff) |
Remove old track.
Diffstat (limited to 'web/confirm.cgi')
-rwxr-xr-x | web/confirm.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi index 1ee37c034..925b64ed2 100755 --- a/web/confirm.cgi +++ b/web/confirm.cgi @@ -20,7 +20,6 @@ sub main { my $q = shift; my $cobrand = Page::get_cobrand($q); my $out = ''; - my $extra; my $token = $q->param('token'); my $type = $q->param('type') || ''; my $tokentype = $type eq 'questionnaire' ? 'update' : $type; @@ -30,7 +29,6 @@ sub main { $out = confirm_update($q, $data); } elsif ($type eq 'problem') { $out = confirm_problem($q, $data); - $extra = 'added-problem'; } elsif ($type eq 'questionnaire') { $out = add_questionnaire($q, $data, $token); } @@ -50,7 +48,7 @@ EOF print Page::header($q, title=>_('Confirmation')); print $out; - print Page::footer($q, extra => $extra); + print Page::footer($q); } Page::do_fastcgi(\&main); |