From 5b2d18761f6bbd938f056fff597d868a36966bb2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Jun 2017 13:58:04 -0300 Subject: [PATCH] Bug 18789: Remove useless IS_ADULT variable Test plan: git grep IS_ADULT must not return any results Signed-off-by: Kyle M Hall Signed-off-by: Josef Moravec --- members/moremember.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index ebbdcac..b9c70be 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -147,7 +147,6 @@ foreach (qw(dateenrolled dateexpiry dateofbirth)) { # FIXME This should be remov } $data->{$_} = dt_from_string( $userdate ); } -$data->{'IS_ADULT'} = ( $data->{'categorycode'} ne 'I' ); for (qw(gonenoaddress lost borrowernotes)) { $data->{$_} and $template->param(flagged => 1) and last; -- 2.1.4