From 2c984a86011787293e1549df40e9b46e9a2bb7eb 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 (cherry picked from commit 5cb6927458dfd9195a7f9cb536b2ca386f7ffb88) Signed-off-by: Fridolin Somers (cherry picked from commit ecad2b444134fce35c05d54e69c54f09464dd1f3) Signed-off-by: Andrew Fuerste-Henry (cherry picked from commit 826236d2b730fe5d4d976dd667bbf967f3ef95cf) Signed-off-by: Victor Grousset/tuxayo --- 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 d8dcf73a51..91896ed458 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 @@ -127,10 +115,6 @@ chosen 'Digests only' on the advance messages. =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.2