@@ -23,20 +23,19 @@ class Home extends AbstractClientController
public function index()
{
-
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $this,
- 'Debug Home',
- $params
- );
if ($this->getWhmcsParamByKey('status') === 'Active')
- return Helper\view()
- ->addElement(Dashboard::class)
- ;
+ $response = Helper\view()->addElement(Dashboard::class);
+
+ logModuleCall(
+ 'kerioEmail',
+ __FUNCTION__,
+ $this,
+ 'Debug Home',
+ $response
+ );
+ return $response;
}