Jelajahi Sumber

client area functions

andre 6 bulan lalu
induk
melakukan
b05d6946b9
2 mengubah file dengan 1 tambahan dan 10 penghapusan
  1. 0 9
      app/Http/Client/Dns.php
  2. 1 1
      core/Helper/DnsHelper.php

+ 0 - 9
app/Http/Client/Dns.php

@@ -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';

+ 1 - 1
core/Helper/DnsHelper.php

@@ -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',