mirror of
https://github.com/pyrohost/pyrodactyl.git
synced 2026-04-06 04:01:58 +02:00
fix: forgot we removed that method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user