1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00

Adding dot as subdomain separator

This commit is contained in:
tekbreak 2018-12-03 23:38:07 +01:00 committed by GitHub
parent 30a2419e10
commit 9ebdd50701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ try {
// If record include A, AAAA or CNAME for subdomain asked, we delete it // If record include A, AAAA or CNAME for subdomain asked, we delete it
if ( in_array( $record['fieldType'], array( 'A', 'AAAA', 'CNAME' ) ) ) { 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); $conn->delete('/domain/zone/' . $domain . '/record/' . $recordId);
} }
} }