|
|
@@ -62,16 +62,6 @@ class AccountDataProvider extends BaseDataProvider
|
|
|
return "Error: Domain $maildomain not found";
|
|
|
}
|
|
|
$active = $this->formData['status'] === 'active' ? TRUE : FALSE;
|
|
|
-
|
|
|
-/* $usercount = $api->countUser($domainId);
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $usercount,
|
|
|
- 'Debug Error',
|
|
|
- $maildomain
|
|
|
- ); */
|
|
|
-
|
|
|
try {
|
|
|
$userID = $api->createUser($domainID, $this->formData['username'], $this->formData['password'], $active)['result'][0]['id'];
|
|
|
} catch (KerioApiException $error) {
|