|
@@ -28,13 +28,6 @@ class EmailAccount extends AbstractClientController
|
|
|
{
|
|
{
|
|
|
$productManager = new ProductManager();
|
|
$productManager = new ProductManager();
|
|
|
$productManager->loadByHostingId($this->request->get('id'));
|
|
$productManager->loadByHostingId($this->request->get('id'));
|
|
|
- logModuleCall(
|
|
|
|
|
- 'kerioEmail',
|
|
|
|
|
- __FUNCTION__,
|
|
|
|
|
- $params,
|
|
|
|
|
- 'Debug Accounts',
|
|
|
|
|
- $this->getWhmcsParamByKey('status')
|
|
|
|
|
- );
|
|
|
|
|
|
|
|
|
|
if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
|
|
if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
|
|
|
{
|
|
{
|