andre 2 лет назад
Родитель
Сommit
71a2208857
2 измененных файлов с 10 добавлено и 10 удалено
  1. 9 0
      app/Http/Client/Home.php
  2. 1 10
      app/UI/Client/Home/Fields/FeatureField.php

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

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

+ 1 - 10
app/UI/Client/Home/Fields/FeatureField.php

@@ -43,16 +43,7 @@ class FeatureField extends BaseField implements ClientArea
      */
     public function getIcon()
     {
-
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this,
-            'Debug Dashboard',
-            $params
-        );
-    
-            $asset = BuildUrl::getAppAssetsURL();
+        $asset = BuildUrl::getAppAssetsURL();
         return $asset.DIRECTORY_SEPARATOR.'icons'.DIRECTORY_SEPARATOR.$this->id.'.png';
     }