Browse Source

Bug 24526: Set verbose if confirm not set

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Jonathan Druart 4 years ago
committed by Martin Renvoize
parent
commit
27cc2d6a33
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 1
      misc/cronjobs/automatic_renewals.pl

1
misc/cronjobs/automatic_renewals.pl

@ -83,6 +83,7 @@ cronlogaction();
my $auto_renews = Koha::Checkouts->search({ auto_renew => 1 });
my %report;
$verbose = 1 unless $verbose or $confirm;
print "Test run only\n" unless $confirm;
while ( my $auto_renew = $auto_renews->next ) {

Loading…
Cancel
Save