andre пре 2 година
родитељ
комит
92116a95ef
2 измењених фајлова са 8 додато и 8 уклоњено
  1. 0 8
      app/Http/Client/Home.php
  2. 8 0
      core/UI/Traits/WhmcsParams.php

+ 0 - 8
app/Http/Client/Home.php

@@ -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);

+ 8 - 0
core/UI/Traits/WhmcsParams.php

@@ -21,6 +21,14 @@ trait WhmcsParams
     {
         if ($this->whmcsParams === null)
         {
+            logModuleCall(
+                'kerioEmail',
+                __FUNCTION__,
+                $this,
+                'Debug Home',
+                di('whmcsParams')
+            );
+
             $this->whmcsParams = di('whmcsParams');
         }
     }