andre пре 2 година
родитељ
комит
9978c64068

+ 9 - 0
api/KerioWhmcs.php

@@ -182,6 +182,15 @@ class KerioWhmcs extends KerioConnectApi {
 			'contact' => $fields,
 			);
 		$result = $this->sendRequest($method, $params);
+
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $params,
+            'Debug Error',
+            $result
+        );
+
 		return $result;
 	}
 

+ 0 - 8
app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

@@ -168,14 +168,6 @@ class EditAccountDataProvider extends BaseDataProvider
         $fields['departmentName'] = $this->formData['department'];
         $fields['profession'] = $this->formData['profession'];
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this->actionElementId,
-            'Debug Error',
-            $fields
-        );
-
         $api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
         try {
             $api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));