andre 3 лет назад
Родитель
Сommit
3289c92959
1 измененных файлов с 1 добавлено и 8 удалено
  1. 1 8
      cwp7.php

+ 1 - 8
cwp7.php

@@ -591,15 +591,8 @@ function cwp7_setDNS($params) {
             'records' => $zoneRecords,
         )
     );
-	logModuleCall(
-		'cwp7',
-		__FUNCTION__,
-		$dnsZone,
-		'debug custom',
-		$result
-	);
     if($result['result'] != 'success') {
-        return 'Error: cloud not update zone for ID ' . $zoneID;
+        return 'Error: ' . $result['message'];
     }
 	return 'success';
 }