Student cards expire age universally 21
authorBill Erickson <berickxx@gmail.com>
Thu, 11 Feb 2016 21:16:29 +0000 (16:16 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/utility-scripts/import_students/generate-patrons-from-csv.pl

index 4ad9e85..563a9e6 100755 (executable)
@@ -25,7 +25,7 @@ my $c_alert_msg     = 'Classroom use only: No physical checkouts. No computer/pr
 my $alert2_msg      = 'DO NOT MERGE OR EDIT. RECORD MANAGED CENTRALLY.';
 my $alert_type      = 20; # "Alerting note, no Blocks" standing penalty
 my $root_org        = 1; # KCLS org unit for penalty application
-my $expire_age      = 18; # Kent (for now) uses 21. 
+my $expire_age      = 21; 
 my $purge_count     = 0; # useful for local logging
 my $db_handle;
 my %new_barcodes;
@@ -191,9 +191,6 @@ sub verify_options {
 
     $home_ou = $home_ou_map{$district_code} unless $home_ou;
 
-    # Kent students may be as old as 21.
-    $expire_age = 21 if $district_code eq '415'; 
-
     if ($purge_all) {
         print "\nPurge every user in the CSV file?  This is irreversible!\n";
         print "Are you sure? [yes|no]\n";