Browse Source

debug clientarea

andre 2 years ago
parent
commit
8bdd9092b6

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

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

+ 0 - 9
app/UI/Client/Home/Pages/Dashboard.php

@@ -27,15 +27,6 @@ class Dashboard extends BaseContainer implements ClientArea
 
     public function initContent()
     {
-
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $params,
-            'Debug Accounts',
-            $this
-        );
-
         $this->initFeatures();
     }
 

+ 0 - 9
kerioEmail.php

@@ -131,15 +131,6 @@ function KerioEmail_ClientArea()
     $response['templateVariables']['acc_add'] = $params['configoptions']['acc_add'] ? $params['configoptions']['acc_add'] : 0;
     $response['templateVariables']['domainBaseSize'] = $domainBaseSize;
     $response['templateVariables']['domainAddSize'] = $params['configoptions']['domainAddSize'] ? $params['configoptions']['domainAddSize'] : 0;
-
-    logModuleCall(
-        'kerioEmail',
-        __FUNCTION__,
-        $response,
-        'Debug response',
-        $params
-    );
-
     return $response;
 }