mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
remove add (optional) $vacation_rule return parameter as it causes a PHP Fatal error in hosting
This commit is contained in:
parent
c2064e1fa8
commit
11a09c6269
@ -1401,10 +1401,9 @@ class Imap extends Horde_Imap_Client_Socket implements Imap\PushIface
|
||||
* @param int|string $_euser numeric account_id or imap username
|
||||
* @param array $_vacation
|
||||
* @param string $_scriptName =null
|
||||
* @param string|null& $vacation_rule=null on return Sieve vacation rule
|
||||
* @return boolean
|
||||
*/
|
||||
public function setVacationUser($_euser, array $_vacation, $_scriptName=null, string &$vacation_rule=null)
|
||||
public function setVacationUser($_euser, array $_vacation, $_scriptName=null)
|
||||
{
|
||||
if ($this->debug) error_log(__METHOD__.' User:'.array2string($_euser).' Scriptname:'.array2string($_scriptName).' VacationMessage:'.array2string($_vacation));
|
||||
|
||||
@ -1419,9 +1418,7 @@ class Imap extends Horde_Imap_Client_Socket implements Imap\PushIface
|
||||
$this->scriptName =& $this->sieve->scriptName;
|
||||
$this->error =& $this->sieve->error;
|
||||
}
|
||||
$ret = $this->setVacation($_vacation, $_scriptName, $vacation_rule);
|
||||
|
||||
return $ret;
|
||||
return $this->setVacation($_vacation, $_scriptName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user