From 82474cad8437a29bd279e57b9d4c1332674a5301 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 Signed-off-by: Jonathan Druart --- members/moremember.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index ebbdcac0a3..b9c70be2f0 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.39.5