From 67c34b789ece83c53263071e8997a15f05b702f1 Mon Sep 17 00:00:00 2001 From: Junade Date: Mon, 5 Mar 2018 14:21:06 -0600 Subject: [PATCH] Revert "MX records need ability to set priority" --- src/Endpoints/DNS.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Endpoints/DNS.php b/src/Endpoints/DNS.php index a8aad75..e8d134e 100644 --- a/src/Endpoints/DNS.php +++ b/src/Endpoints/DNS.php @@ -28,7 +28,6 @@ class DNS implements API * @param string $content * @param int $ttl * @param bool $proxied - * @param string $priority * @return bool */ public function addRecord( @@ -37,8 +36,7 @@ class DNS implements API string $name, string $content, int $ttl = 0, - bool $proxied = true, - string $priority = '' + bool $proxied = true ): bool { $options = [ 'type' => $type, @@ -51,10 +49,6 @@ class DNS implements API $options['ttl'] = $ttl; } - if (!empty($priority)) { - $options['priority'] = $priority; - } - $user = $this->adapter->post('zones/' . $zoneID . '/dns_records', [], $options); $body = json_decode($user->getBody());