From 5846119ec93d196af4df2f1154d2a932465ac1d1 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 23 Jul 2026 18:16:57 -0400 Subject: [PATCH] remove duplicate formatAddress --- functions/format.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/functions/format.php b/functions/format.php index deb64d9a..71998edf 100644 --- a/functions/format.php +++ b/functions/format.php @@ -402,9 +402,3 @@ function secondsToTime($inputSeconds) { return implode(', ', $timeParts); } - -function formatAddress($address, $city, $state, $zip, $country = '', $separator = "\n") { - $cityLine = trim(implode(' ', array_filter([trim("$city,", ' ,') ? "$city," : '', $state, $zip]))); - $cityLine = rtrim($cityLine, ','); - return implode($separator, array_filter([trim($address), $cityLine, trim($country)])); -}