Skip to content

Commit 20c80c9

Browse files
committed
Remove more referneces to get_branch_security_eol
1 parent 610f458 commit 20c80c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

eol.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<tbody>
5252
<?php foreach (Branches::eol() as $major => $branches): ?>
5353
<?php foreach ($branches as $branch => $detail): ?>
54-
<?php $eolDate = get_branch_security_eol_date($branch) ?>
54+
<?php $eolDate = Branches::getBranchSecurityEOLDate($branch) ?>
5555
<?php $eolPeriod = format_interval($eolDate, new DateTime('now')) ?>
5656
<tr>
5757
<td><?php echo htmlspecialchars($branch); ?></td>

images/supported-versions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function branches_to_show() {
2020
// Flatten out the majors.
2121
foreach (Branches::get_all_branches() as $major_branches) {
2222
foreach ($major_branches as $branch => $version) {
23-
if (version_compare($branch, '5.3', 'ge') && get_branch_security_eol_date($branch) > min_date()) {
23+
if (version_compare($branch, '5.3', 'ge') && Branches::getBranchSecurityEOLDate($branch) > min_date()) {
2424
$branches[$branch] = $version;
2525
}
2626
}

0 commit comments

Comments
 (0)