andre 5 hónapja
szülő
commit
eaa4b6ce45
1 módosított fájl, 9 hozzáadás és 9 törlés
  1. 9 9
      core/Helper/DnsHelper.php

+ 9 - 9
core/Helper/DnsHelper.php

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