mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard
This commit is contained in:
parent
b4f31bdfd2
commit
9d8b45588b
@ -2294,9 +2294,13 @@ class mail_ui
|
|||||||
if ($vacation)
|
if ($vacation)
|
||||||
{
|
{
|
||||||
$sieveServer = $this->mail_bo->icServer;
|
$sieveServer = $this->mail_bo->icServer;
|
||||||
|
try
|
||||||
$sieveServer->retrieveRules();
|
{
|
||||||
$vacation = $sieveServer->getVacation();
|
$sieveServer->retrieveRules();
|
||||||
|
$vacation = $sieveServer->getVacation();
|
||||||
|
} catch (PEAR_Exception $ex) {
|
||||||
|
$this->callWizard($ex->getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.__LINE__.' Server:'.self::$icServerID.' Vacation retrieved:'.array2string($vacation));
|
//error_log(__METHOD__.__LINE__.' Server:'.self::$icServerID.' Vacation retrieved:'.array2string($vacation));
|
||||||
return $vacation;
|
return $vacation;
|
||||||
|
Loading…
Reference in New Issue
Block a user