@@ -120,6 +120,15 @@ class cwp7_Admin {
"encodepass" => true,
"debug" => 1,
);
+
+ logModuleCall(
+ 'cwp7',
+ __FUNCTION__,
+ $data,
+ 'Debug',
+ $params
+ );
return $this->doRequest('account', 'add', $data);
}
/**
@@ -118,15 +118,6 @@ function cwp7_CreateAccount($params) {
$response = $cwp7->createAccount($data);
if($response['status'] != 'OK') {
-
- logModuleCall(
- 'cwp7',
- __FUNCTION__,
- $data,
- 'Debug',
- $response
- );
return 'Error: ' . $response['msj'];
return 'success';