From d81c3bc07ce0c62b3bbbfe6d1c37e22b6b14bbc3 Mon Sep 17 00:00:00 2001 From: boban Date: Sat, 8 Nov 2025 12:52:54 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Mailbox=20Stats=20=C3=BCber=20Dovecot=20?= =?UTF-8?q?mit=20config/mailpool.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Helpers/helpers.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 9da8b98..76c30c3 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -46,20 +46,14 @@ if (!function_exists('mta_host')) { if ($sub) { return domain_host($sub); } - - // 3️⃣ Notfall: statischer Fallback return domain_host('mx'); } } if (! function_exists('countryFlag')) { - /** - * Gibt das Flag-Emoji eines Landes zurück anhand des ISO-Codes (z. B. "de" → 🇩🇪). - */ function countryFlag(string $code): string { $code = strtoupper($code); - // Unicode-Magic: A -> 🇦, B -> 🇧 etc. return implode('', array_map( fn($char) => mb_chr(ord($char) + 127397, 'UTF-8'), str_split($code)