@@ -37,15 +37,6 @@ class Dns extends AbstractClientController
{
$dnshelper = new DnsHelper;
$response = $dnshelper->KerioEmailsetDNS();
-
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $this->params,
- 'DEbug',
- $response
- );
return $response;
} else {
return 'error';
@@ -200,7 +200,7 @@ class DnsHelper
if(!isset($zoneID)) {
return 'Error: zone ID not found for domain ' . $this->params['domain'];
}
- $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID, 'zone_name' => $this->params['domain']));
+ $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
logModuleCall(
'kerioEmail',