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