@@ -166,15 +166,6 @@ class Accounts extends DataTable implements ClientArea
$this->maildomain = $maildomain['id'];
}
-
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $domains,
- 'Debug Accounts',
- $this->maildomain
- );
$productManager = new ProductManager();
$productManager->loadByHostingId($hosting->id);
@@ -39,6 +39,14 @@ class AccountDataProvider extends BaseDataProvider
//todo refactor
$this->data['domain'] = $hosting->domain;
+ logModuleCall(
+ 'kerioEmail',
+ __FUNCTION__,
+ $this->data['domain'],
+ 'Debug Accounts',
+ $this->maildomain
+ );
+
$lang = di('lang');
$this->availableValues['status'] = [
Kerio::ACC_STATUS_ACTIVE => $lang->absoluteT('kerio','account','status','active'),