From 5cb6927458dfd9195a7f9cb536b2ca386f7ffb88 Mon Sep 17 00:00:00 2001 From: James O'Keeffe Date: Tue, 19 Jan 2021 21:16:49 +0000 Subject: [PATCH] Bug 11344: Perldoc issues in misc/cronjobs/advance_notices.pl This patch removes the double ups in the perldoc of the above file, deleting the less clear double ups. The missing "-c" in OPTIONS appears to have been fixed in an earlier patch (it is there already). Task Plan: 1. Run perldoc misc/cronjobs/advance_notices.pl in the terminal. Note the double ups of NAME, SYNOPSIS, and DESCRIPTION 2. Apply the patch 3. Run the command again. The double ups should be gone, with the more clear version of each of NAME, SYNOPSIS, and DESCRIPTION remaining. Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- misc/cronjobs/advance_notices.pl | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl index fb65cd4343..9250e6f303 100755 --- a/misc/cronjobs/advance_notices.pl +++ b/misc/cronjobs/advance_notices.pl @@ -19,14 +19,11 @@ =head1 NAME -advance_notices.pl - cron script to put item due reminders into message queue +advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items =head1 SYNOPSIS - -./advance_notices.pl -c - -or, in crontab: -0 1 * * * advance_notices.pl -c + advance_notices.pl + [ -n ][ -m ][ --itemscontent ][ -c ] =head1 DESCRIPTION @@ -62,15 +59,6 @@ use Koha::Items; use Koha::Libraries; use Koha::Patrons; -=head1 NAME - -advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items - -=head1 SYNOPSIS - -advance_notices.pl - [ -n ][ -m ][ --itemscontent ][ -c ] - =head1 OPTIONS =over 8 @@ -139,10 +127,6 @@ Defaults to 'item-issuebranch' =back -=head1 DESCRIPTION - -This script is designed to alert patrons when items are due, or coming due - =head2 Configuration This script pays attention to the advanced notice configuration -- 2.39.5