Bladeren bron

edit Account

andre 2 jaren geleden
bovenliggende
commit
9978c64068
2 gewijzigde bestanden met toevoegingen van 9 en 8 verwijderingen
  1. 9 0
      api/KerioWhmcs.php
  2. 0 8
      app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

+ 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'));