mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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);
|
||||
|
||||
parent::__construct();
|
||||
if ($account ==='initbasic')
|
||||
if ($account === 'initbasic')
|
||||
{
|
||||
$this->_headers = new Horde_Mime_Headers();
|
||||
$this->clearAllRecipients();
|
||||
$this->clearReplyTos();
|
||||
return $this;
|
||||
return;
|
||||
}
|
||||
if ($account !== false)
|
||||
{
|
||||
@ -1194,4 +1194,4 @@ class Mailer extends Horde_Mime_Mail
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user