From ecb65def5a33e6a40da0a6ddc21a7f28b5b74daa Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 3 Nov 2017 08:50:08 +0100 Subject: [PATCH] Bug 18894: (QA follow-up) POD changes Add limit parameter to POD section. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- C4/Letters.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 375c5cd25d..d7971af4e0 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1023,11 +1023,12 @@ ENDSQL =head2 SendQueuedMessages ([$hashref]) - my $sent = SendQueuedMessages( { verbose => 1 } ); + my $sent = SendQueuedMessages({ verbose => 1, limit => 50 }); -sends all of the 'pending' items in the message queue. +Sends all of the 'pending' items in the message queue, unless the optional +limit parameter is passed too. The verbose parameter is also optional. -returns number of messages sent. +Returns number of messages sent. =cut -- 2.39.5