@@ -24,14 +24,6 @@ class Home extends AbstractClientController
public function index()
{
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $this,
- 'Debug Home',
- $this->getWhmcsParamByKey('status')
- );
-
if ($this->getWhmcsParamByKey('status') === 'Active')
$response = Helper\view()->addElement(Dashboard::class);
@@ -21,6 +21,14 @@ trait WhmcsParams
if ($this->whmcsParams === null)
+ logModuleCall(
+ 'kerioEmail',
+ __FUNCTION__,
+ $this,
+ 'Debug Home',
+ di('whmcsParams')
+ );
+
$this->whmcsParams = di('whmcsParams');
}