|
@@ -132,6 +132,15 @@ class EditAccountDataProvider extends BaseDataProvider
|
|
|
} else {
|
|
} else {
|
|
|
$this->data['quota'] = 0;
|
|
$this->data['quota'] = 0;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'kerioEmail',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $account,
|
|
|
|
|
+ 'Debug Data',
|
|
|
|
|
+ $this->data
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
$lang = di('lang');
|
|
$lang = di('lang');
|
|
|
$this->availableValues['status'] = [
|
|
$this->availableValues['status'] = [
|
|
|
Kerio::ACC_STATUS_ACTIVE => $lang->absoluteT('kerio','account','status','active'),
|
|
Kerio::ACC_STATUS_ACTIVE => $lang->absoluteT('kerio','account','status','active'),
|
|
@@ -186,14 +195,6 @@ class EditAccountDataProvider extends BaseDataProvider
|
|
|
$fields['departmentName'] = $this->formData['department'];
|
|
$fields['departmentName'] = $this->formData['department'];
|
|
|
$fields['profession'] = $this->formData['profession'];
|
|
$fields['profession'] = $this->formData['profession'];
|
|
|
|
|
|
|
|
- logModuleCall(
|
|
|
|
|
- 'kerioEmail',
|
|
|
|
|
- __FUNCTION__,
|
|
|
|
|
- $account,
|
|
|
|
|
- 'Debug Error',
|
|
|
|
|
- $fields
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
$api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
|
|
$api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
|
|
|
try {
|
|
try {
|
|
|
$api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));
|
|
$api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));
|