This is an automated email from the ASF dual-hosted git repository.
jfthomps pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/vcl.git
The following commit(s) were added to refs/heads/develop by this push:
new feb37a10 VCL-1139 - increase max allowed reservation duration from 20
weeks to 30 weeks
feb37a10 is described below
commit feb37a10f10ea69e98dac6a0eab221bddfc805ae
Author: Josh Thompson <[email protected]>
AuthorDate: Thu Mar 7 16:48:36 2024 -0500
VCL-1139 - increase max allowed reservation duration from 20 weeks to 30
weeks
utils.php: modified getReservationLengthCeiling: changed 201600 to 302400
in 2 places
---
web/.ht-inc/utils.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/.ht-inc/utils.php b/web/.ht-inc/utils.php
index 6e71c297..f9a36ac0 100644
--- a/web/.ht-inc/utils.php
+++ b/web/.ht-inc/utils.php
@@ -11271,11 +11271,11 @@ function getReservationLengthCeiling($length) {
if($length < $i)
return $i;
}
- for($i = 70560; $i <= 201600; $i += 10080) {
+ for($i = 70560; $i <= 302400; $i += 10080) {
if($length < $i)
return $i;
}
- return 201600;
+ return 302400;
}
////////////////////////////////////////////////////////////////////////////////