Skip to content

Commit 12a4ca3

Browse files
committed
Remove more referneces to get_branch_security_eol
1 parent f606759 commit 12a4ca3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/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>

public/images/supported-versions.php

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

0 commit comments

Comments
 (0)