|
|
@@ -352,13 +352,13 @@ function zimbraSingleClientArea($userData)
|
|
|
return false;
|
|
|
}
|
|
|
$apiAccountManager = new Zm_Account($api);
|
|
|
- $response = $apiAccountManager->getAccountInfo($account_name);
|
|
|
+ $response = $apiAccountManager->getAccount($account_name);
|
|
|
if(is_a($response, "Exception")) {
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
$params,
|
|
|
- "Error : could not gather informations for $account_name",
|
|
|
+ "Error : could not find $account_name",
|
|
|
""
|
|
|
);
|
|
|
return false;
|
|
|
@@ -368,10 +368,21 @@ function zimbraSingleClientArea($userData)
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
$params,
|
|
|
- "devug: clientarea",
|
|
|
+ "debug: getAccount",
|
|
|
$response
|
|
|
);
|
|
|
-
|
|
|
+
|
|
|
+ $response = $apiAccountManager->getAccountInfo($account_name);
|
|
|
+ if(is_a($response, "Exception")) {
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbrasingle',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ "Error : could not gather informations for $account_name",
|
|
|
+ ""
|
|
|
+ );
|
|
|
+ return false;
|
|
|
+ }
|
|
|
$webMailURL = recursiveFindAll( $response, 'PUBLICMAILURL');
|
|
|
return $webMailURL;
|
|
|
}
|