Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
koha-docker
Commits
0c6fddfe
Commit
0c6fddfe
authored
Aug 20, 2018
by
Benjamin Rokseth
Browse files
Remove logging from debar_patrons.pl
parent
b27d8689
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/cronjobs/debar_patrons.pl
View file @
0c6fddfe
...
@@ -84,8 +84,6 @@ PATRON: while ( my $patron = $patrons->fetchrow_hashref() ) {
...
@@ -84,8 +84,6 @@ PATRON: while ( my $patron = $patrons->fetchrow_hashref() ) {
my $rule = $overdueRules->{"$patron->{borrbranch}|$patron->{borrcat}"} ? $overdueRules->{"$patron->{borrbranch}|$patron->{borrcat}"} : $overdueRules->{"|$patron->{borrcat}"};
my $rule = $overdueRules->{"$patron->{borrbranch}|$patron->{borrcat}"} ? $overdueRules->{"$patron->{borrbranch}|$patron->{borrcat}"} : $overdueRules->{"|$patron->{borrcat}"};
$rule or next; # No overduerule = no message
$rule or next; # No overduerule = no message
use Data::Dumper;
# We loop through overduerules backwards, oldest overdues define what message is sent
# We loop through overduerules backwards, oldest overdues define what message is sent
# 1 - If we have any overdue passed letter3 give this notice, otherwise check letter2, etc..
# 1 - If we have any overdue passed letter3 give this notice, otherwise check letter2, etc..
# 2 - If days_overdue equals delay, we define a message for this patron to be sent
# 2 - If days_overdue equals delay, we define a message for this patron to be sent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment