mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
Merge pull request #85 from tekbreak/patch-1
Adding dot as subdomain separator
This commit is contained in:
commit
88e67ac3aa
@ -40,7 +40,7 @@ try {
|
||||
// If record include A, AAAA or CNAME for subdomain asked, we delete it
|
||||
if ( in_array( $record['fieldType'], array( 'A', 'AAAA', 'CNAME' ) ) ) {
|
||||
|
||||
echo "We will delete field " . $record['fieldType'] . " for " . $record['subDomain'] . $record['zone'] . PHP_EOL;
|
||||
echo "We will delete field " . $record['fieldType'] . " for " . $record['subDomain'] . "." . $record['zone'] . PHP_EOL;
|
||||
$conn->delete('/domain/zone/' . $domain . '/record/' . $recordId);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user