Pārlūkot izejas kodu

debug clientarea

andre 2 gadi atpakaļ
vecāks
revīzija
efe91af9b5
1 mainītis faili ar 9 papildinājumiem un 8 dzēšanām
  1. 9 8
      core/Helper/Functions.php

+ 9 - 8
core/Helper/Functions.php

@@ -222,20 +222,21 @@ if (!function_exists('\ThurData\Servers\KerioEmail\Core\Helper\di'))
         if ($class != null && $method == null)
         {
             $return = DependencyInjection::{$methodName}($class);
+
+            logModuleCall(
+                'kerioEmail',
+                __FUNCTION__,
+                $return,
+                'Debug Home',
+                $class
+            );
+    
         }
         elseif ($class != null && $method != null)
         {
             $return = DependencyInjection::{$methodName}($class, $method);
         }
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $return,
-            'Debug Home',
-            $class
-        );
-
         return $return;
     }
 }