From 2b366b66eba551d31cae3eb72d95afb5569b7cb1 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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 <kyle@bywatersolutions.com>
---
 members/moremember.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/members/moremember.pl b/members/moremember.pl
index 6a3ebd0..7785930 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.10.2