Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Missing a sign. Removes harcoded values
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
$dbh->{RaiseError} = 1;
$dbh->{PrintError} = 0;
-@$members = ( { borrowernumber => 19 } );
-
$dbh->{AutoCommit} = 0; # use transactions to avoid partial deletes
for my $member (@$members) {
print "Trying to delete patron $member->{borrowernumber}... "
=head1 SYNOPSIS
-delete_patrons.pl [-h -v -c] --not_borrowed_since=2013-07-21 --expired_before=2013-07-21 --category_code=CAT --branchcode=CPL
+delete_patrons.pl [-h -v -c] --not_borrowed_since=2013-07-21 --expired_before=2013-07-21 --category_code=CAT --library=CPL
dates can be generated with `date -d '-3 month' "+%Y-%m-%d"`
Delete patrons who have this category code.
-=item B<--branchcode>
+=item B<--library>
Delete patrons in this library.