fix: forgot we removed that method

This commit is contained in:
Elizabeth
2025-09-06 20:41:16 -05:00
parent c1654b833f
commit f7ae6051d2

View File

@@ -134,7 +134,8 @@ class ServerObserver
}
} else {
// New software supports subdomains, check if record type changed
if ($feature->getRecordType() !== $activeSubdomain->record_type) {
$newRecordType = str_replace('subdomain_', '', $feature->getFeatureName());
if ($newRecordType !== $activeSubdomain->record_type) {
try {
// Delete old records and create new ones
$this->subdomainService->deleteSubdomain($activeSubdomain);