mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix IDE warning/error: constructor returning something
This commit is contained in:
parent
13d1289910
commit
20d3394e2b
@ -75,12 +75,12 @@ class Mailer extends Horde_Mime_Mail
|
|||||||
Preferences::setlocale(LC_MESSAGES);
|
Preferences::setlocale(LC_MESSAGES);
|
||||||
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
if ($account ==='initbasic')
|
if ($account === 'initbasic')
|
||||||
{
|
{
|
||||||
$this->_headers = new Horde_Mime_Headers();
|
$this->_headers = new Horde_Mime_Headers();
|
||||||
$this->clearAllRecipients();
|
$this->clearAllRecipients();
|
||||||
$this->clearReplyTos();
|
$this->clearReplyTos();
|
||||||
return $this;
|
return;
|
||||||
}
|
}
|
||||||
if ($account !== false)
|
if ($account !== false)
|
||||||
{
|
{
|
||||||
@ -1194,4 +1194,4 @@ class Mailer extends Horde_Mime_Mail
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user