From 261751886bc758141618aee28058e07b76073412 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Fri, 21 Apr 2017 22:13:41 +0100 Subject: [PATCH] Remove final unused helper --- lib/Pear/LocalLoop.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/Pear/LocalLoop.pm b/lib/Pear/LocalLoop.pm index 8db6ac4..3366cf7 100644 --- a/lib/Pear/LocalLoop.pm +++ b/lib/Pear/LocalLoop.pm @@ -149,12 +149,6 @@ sub startup { $self->res->headers->header('Access-Control-Allow-Origin' => '*') if $self->app->mode eq 'development'; }); - - $self->helper(get_age_foreign_key => sub { - my ( $c, $age_string ) = @_; - my $age_range = $c->schema->resultset('AgeRange')->find({ agerangestring => $age_string }); - return defined $age_range ? $age_range->agerangeid : undef; - }); } 1;