|
|
@@ -287,6 +287,14 @@ class KerioApi implements KerioApiInterface {
|
|
|
public function login($hostname, $username, $password) {
|
|
|
$this->clean();
|
|
|
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $username,
|
|
|
+ 'Debug Kerio Api 1',
|
|
|
+ $this->application
|
|
|
+ );
|
|
|
+
|
|
|
if (empty($hostname)) {
|
|
|
throw new KerioApiException('Cannot login. Hostname not set.');
|
|
|
}
|
|
|
@@ -307,15 +315,6 @@ class KerioApi implements KerioApiInterface {
|
|
|
);
|
|
|
|
|
|
$response = $this->sendRequest($method, $params);
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $params,
|
|
|
- 'Debug Kerio Api 1',
|
|
|
- $response
|
|
|
- );
|
|
|
-
|
|
|
return $response;
|
|
|
}
|
|
|
|