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