Ver código fonte

debug clientarea

andre 2 anos atrás
pai
commit
8e4c112f23
2 arquivos alterados com 8 adições e 8 exclusões
  1. 8 0
      core/Helper/Functions.php
  2. 0 8
      core/UI/Traits/WhmcsParams.php

+ 8 - 0
core/Helper/Functions.php

@@ -219,6 +219,14 @@ if (!function_exists('\ThurData\Servers\KerioEmail\Core\Helper\di'))
         $return     = null;
         $methodName = ($isCreate) ? 'create' : 'get';
 
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $methodName,
+            'Debug Home',
+            $class
+        );
+
         if ($class != null && $method == null)
         {
             $return = DependencyInjection::{$methodName}($class);

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

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