|
|
@@ -296,15 +296,6 @@ class KerioApi implements KerioApiInterface {
|
|
|
throw new KerioApiException('Cannot login. Application not defined.');
|
|
|
}
|
|
|
$this->setHostname($hostname);
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $hostname,
|
|
|
- 'Debug Kerio Api 1',
|
|
|
- $this->application
|
|
|
- );
|
|
|
-
|
|
|
$method = 'Session.login';
|
|
|
$params = array(
|
|
|
'userName' => $username,
|
|
|
@@ -313,6 +304,15 @@ class KerioApi implements KerioApiInterface {
|
|
|
);
|
|
|
|
|
|
$response = $this->sendRequest($method, $params);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'Debug Kerio Api 1',
|
|
|
+ $response
|
|
|
+ );
|
|
|
+
|
|
|
return $response;
|
|
|
}
|
|
|
|