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