|
|
@@ -192,11 +192,11 @@ class DnsHelper
|
|
|
function KerioEmailsetDNS()
|
|
|
{
|
|
|
$zoneIDcollection = Capsule::table('dns_manager2_zone')
|
|
|
- ->select('id')
|
|
|
+ ->select('relid')
|
|
|
->where('name', '=', $this->params['domain'])
|
|
|
->get();
|
|
|
$zoneIDobj = $zoneIDcollection[0];
|
|
|
- $zoneID = $zoneIDobj->{'id'};
|
|
|
+ $zoneID = $zoneIDobj->{'relid'};
|
|
|
if(!isset($zoneID)) {
|
|
|
return 'Error: zone ID not found for domain ' . $this->params['domain'];
|
|
|
}
|
|
|
@@ -266,7 +266,7 @@ class DnsHelper
|
|
|
} */
|
|
|
return 'success';
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
function KerioEmailunsetMX()
|
|
|
{
|
|
|
$zoneIDcollection = Capsule::table('dns_manager2_zone')
|