aboutsummaryrefslogtreecommitdiffstats
path: root/web/confirm.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-01-14 15:18:18 +0000
committerMatthew Somerville <matthew@mysociety.org>2011-01-14 15:18:18 +0000
commit73a8e2e73165212fc43e642c3f1bf76f2513d4e8 (patch)
treec26de77c72d5b3b90b2954bb871175d16c7dffcd /web/confirm.cgi
parent7f834105f3ec090b7e8827460fee4847a65a03c7 (diff)
Remove old track.
Diffstat (limited to 'web/confirm.cgi')
-rwxr-xr-xweb/confirm.cgi4
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);