فهرست منبع

debug clientarea

andre 2 سال پیش
والد
کامیت
0f76f460f1
1فایلهای تغییر یافته به همراه11 افزوده شده و 12 حذف شده
  1. 11 12
      app/Http/Client/Home.php

+ 11 - 12
app/Http/Client/Home.php

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