Parcourir la source

bugfix configoptions

andre il y a 1 an
Parent
commit
4e600fd35e
1 fichiers modifiés avec 12 ajouts et 2 suppressions
  1. 12 2
      kerioEmail.php

+ 12 - 2
kerioEmail.php

@@ -94,9 +94,19 @@ function KerioEmail_ConfigOptions(array $params)
 {
     require_once __DIR__ . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR . 'AppContext.php';
     
-    $appContext = new AppContext();    
+    $appContext = new AppContext();
+
+    $response = $appContext->runApp(__FUNCTION__, $params);
     
-    return $appContext->runApp(__FUNCTION__, $params);
+    logModuleCall(
+        'kerioEmail',
+        __FUNCTION__,
+        $params,
+        'Debug',
+        $response
+    );
+    
+    return [];
 }
 
 function KerioEmail_AdminServicesTabFields($params)