|
|
@@ -112,6 +112,15 @@ class DnsHelper
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $dnsZone['data']->records,
|
|
|
+ 'DEbug',
|
|
|
+ $vars
|
|
|
+ );
|
|
|
+
|
|
|
return $vars;
|
|
|
}
|
|
|
|
|
|
@@ -128,15 +137,6 @@ class DnsHelper
|
|
|
return 'Error: zone ID not found for domain ' . $this->params['domain'];
|
|
|
}
|
|
|
$dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $this->params,
|
|
|
- 'DEbug',
|
|
|
- $dnsZone['result']
|
|
|
- );
|
|
|
-
|
|
|
if($dnsZone['result'] != 'success') {
|
|
|
return 'Error: cloud not fetch zone for ID ' . $zoneID;
|
|
|
}
|