Drop the Host Settings card now the partnership settings card covers HOST1/HOST2

It existed to render two fields that live in master.conf's HOST IDENTITIES group, which the shared renderer now includes — one settings surface for the page rather than two both editing the same file.
This commit is contained in:
Gmer4Lfe
2026-08-17 14:52:21 -04:00
parent 8cf3ff31db
commit 2216072669
2 changed files with 5 additions and 72 deletions
@@ -64,9 +64,14 @@ require_once dirname(__DIR__) . '/include/confform.php';
$files = vv_get_conf_files();
$out = [];
foreach ($files as $f) {
// "HOST IDENTITIES" is included alongside the partnership subsections because it holds HOST1
// and HOST2 — the hostnames the whole partnership is keyed on. They were shown by a separate
// "Host Settings" card on the partnership page, which existed only to render those two fields
// and is now redundant: one settings surface for the page, not two that both edit master.conf.
$groups = array_values(array_filter(
vv_conf_all_groups($f),
fn($g) => stripos($g['subsection'], 'partnership') !== false
|| stripos($g['subsection'], 'host identities') !== false
));
if ($groups) {
$out[] = ['file' => $f, 'groups' => $groups];