Sfoglia il codice sorgente

changePackage - try to get domainId by name

andre 2 anni fa
parent
commit
1f52a0246e
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 9 0
      api/KerioWhmcs.php

+ 9 - 0
api/KerioWhmcs.php

@@ -103,6 +103,15 @@ class KerioWhmcs extends KerioConnectApi {
 		);
 
 		$result = $this->sendRequest($method, $params);
+
+		logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $result,
+            'Debug ChangePackage',
+            $domain
+        );
+
 		foreach($result as $key) {
 			if ($key['name'] == $domain) {
 				return $key['id'];