mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
fix to fetch Vacation part of sieve script when vacation is active (seen when using dovecot)
This commit is contained in:
parent
926e3bfca7
commit
cc3f3c92a9
@ -761,6 +761,8 @@ class uifelamimail
|
||||
$this->t->set_var('reloadView',$refreshURL);
|
||||
// display a warning if vacation notice is active
|
||||
if(($imapServer instanceof defaultimap) && $imapServer->enableSieve) {
|
||||
$scriptName = (!empty($GLOBALS['egw_info']['user']['preferences']['felamimail']['sieveScriptName'])) ? $GLOBALS['egw_info']['user']['preferences']['felamimail']['sieveScriptName'] : 'felamimail';
|
||||
$imapServer->getScript($scriptName);
|
||||
$imapServer->retrieveRules($imapServer->scriptName);
|
||||
$vacation = $imapServer->getVacation($imapServer->scriptName);
|
||||
//_debug_array($vacation);
|
||||
|
Loading…
Reference in New Issue
Block a user