@@ -94,13 +94,10 @@ class ClientAreaSidebarService
return;
}
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $this->getWhmcsParamByKey('status'),
- 'Debug',
- $this->primarySidebar
- );
+ if ($this->getWhmcsParamByKey('status') !== 'Active')
+ {
+ return;
+ }
/**
* @var SidebarService $sidebarService