Sfoglia il codice sorgente

enable testconnection log

andre 2 anni fa
parent
commit
e02020291d
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      cwp7.php

+ 7 - 0
cwp7.php

@@ -56,6 +56,13 @@ function cwp7_MetaData() {
 function cwp7_Testconnection($params) {
 	$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
 	$response = $cwp7->getServerType();
+	logModuleCall(
+		'cwp7',
+		__FUNCTION__,
+		$params,
+		'debug',
+		$response
+	);
 	if($response['status'] == 'OK') {
 		return array(
 			'success' => true,