andre před 2 roky
rodič
revize
f90efd042c

+ 8 - 0
core/DependencyInjection/DependencyInjection.php

@@ -18,6 +18,14 @@ class DependencyInjection
     {
         if($methodName)
         {
+            logModuleCall(
+                'kerioEmail',
+                __FUNCTION__,
+                $methodName,
+                'Debug Home',
+                $className
+            );
+    
             return Container::getInstance()->call("$className@$methodName");
         }
 

+ 0 - 9
core/Helper/Functions.php

@@ -222,15 +222,6 @@ 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)
         {