diff --git a/api/src/Mail/Imap.php b/api/src/Mail/Imap.php index 5e78e402e6..1a6e6ee19d 100644 --- a/api/src/Mail/Imap.php +++ b/api/src/Mail/Imap.php @@ -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); } /**