aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-13 13:11:32 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-13 13:11:32 +0100
commit97e3eba9fb3a3dac185f62c7d6c7a16d1438c34f (patch)
treee5ef3a4a799208e52c905b500471a2fbfab36cdd
parentae9bd9cab0b338a1f07721e7ec4a8cba68ff8f7b (diff)
tidy up
-rw-r--r--perllib/FixMyStreet/App/Controller/Contact.pm22
1 files changed, 0 insertions, 22 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm
index 05475719a..6a243576d 100644
--- a/perllib/FixMyStreet/App/Controller/Contact.pm
+++ b/perllib/FixMyStreet/App/Controller/Contact.pm
@@ -101,32 +101,10 @@ sub determine_contact_type : Private {
# from comment, problem where comment.id=?
# and comment.problem_id = problem.id
# and comment.problem_id=?', {}, $update_id ,$id);
-# if (! $u) {
-# $intro = generic_contact_text($q);
-# } else {
-# $intro .= $q->p(_('You are reporting the following update for being abusive, containing personal information, or similar:'));
-# $item_title = ent($u->{title});
-# $item_meta = $q->em( 'Update below added ', (!$u->{name}) ? 'anonymously' : "by " . ent($u->{name}),
-# ' at ' . Page::prettify_epoch($q, $u->{confirmed}));
-# $item_body = ent($u->{text});
-# $hidden_vals .= '<input type="hidden" name="update_id" value="' . $update_id . '">';
-# }
}
elsif ($problem) {
$c->stash->{problem} = $problem;
-
-# $intro .= $q->p(_('You are reporting the following problem report for being abusive, containing personal information, or similar:'));
-# $item_title = ent($p->{title});
-# my $date_time = Page::prettify_epoch($q, $p->{confirmed});
-# $item_meta = $q->em(
-# $p->{anonymous}
-# ? sprintf(_('Reported anonymously at %s'), $date_time)
-# : sprintf(_('Reported by %s at %s'), ent($p->{name}), $date_time)
-# );
-# $item_body = ent($p->{detail});
}
-
- # $hidden_vals .= '<input type="hidden" name="id" value="' . $id . '">';
}
}