Bugzilla – Attachment 106721 Details for
Bug 14315
Slow checkouts, caused by many 'special_holidays' definitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25723: (QA follow-up) Silent POD warning
Bug-25723-QA-follow-up-Silent-POD-warning.patch (text/plain), 1.32 KB, created by
Martin Renvoize
on 2020-07-09 12:21:00 UTC
(
hide
)
Description:
Bug 25723: (QA follow-up) Silent POD warning
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-07-09 12:21:00 UTC
Size:
1.32 KB
patch
obsolete
>From 66da460208ce6d90d40b3b1563884ae8f1b241b5 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 17 Jun 2020 14:04:14 +0100 >Subject: [PATCH] Bug 25723: (QA follow-up) Silent POD warning > >I didn't introduce the method that is warned about, but adding POD for >it seemed reasonable and will silence the QA Script warning. > >Signed-off-by: Emma Perks <emma.perks@heartofengland.nhs.uk> > >https://bugs.koha-community.org/show_bug.cgi?id=14315 >--- > Koha/Calendar.pm | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index 8a6e53a0b3..09f66b0062 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -493,6 +493,15 @@ representing the previous open day after subtracting the number of passed > days. It is intended for use to calculate the due date when useDaysMode > syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'. > >+=head2 days_forward >+ >+$datetime = $calendar->days_forward($start_dt, $to_add) >+ >+Passed a Datetime and number of days, returns another Datetime representing >+the next open day after adding the passed number of days. It is intended for >+use to calculate the due date when useDaysMode syspref is set to either >+'Datedue', 'Calendar' or 'Dayweek'. >+ > =head2 set_daysmode > > For testing only allows the calling script to change days mode >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14315
:
39764
|
39765
|
39790
|
106714
|
106715
|
106716
|
106717
|
106718
|
106719
|
106720
| 106721