mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Remove unnessessary check (double check)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user