From db664318c426f189e1ad8bf5a5228d8786aa093d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 12 Sep 2025 20:52:49 +0200 Subject: [PATCH] Remove unnessessary check (double check) --- src/Appwrite/Platform/Workers/Certificates.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index fa3d3a34ad..7cf23bcc61 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -154,14 +154,6 @@ class Certificates extends Action $mainDomain = $this->getMainDomain(); $isMainDomain = isset($mainDomain) && $domain->get() === $mainDomain; - if (empty($domain->get())) { - throw new Exception('Missing certificate domain.'); - } - - if (!$domain->isKnown() || $domain->isTest()) { - throw new Exception('Unknown public suffix for domain.'); - } - // Verify DNS records $updates = new Document(); $success = false;