mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 22:24:26 +02:00
split mailbuilder types
This commit is contained in:
parent
34dce9fd76
commit
cb08912926
4 changed files with 34 additions and 12 deletions
|
@ -96,13 +96,11 @@ class Emailer
|
|||
*
|
||||
* @see Notify
|
||||
*
|
||||
* @param L10n $l10n The chosen language for the new email
|
||||
*
|
||||
* @return NotifyMailBuilder
|
||||
*/
|
||||
public function newNotifyMail(L10n $l10n)
|
||||
public function newNotifyMail()
|
||||
{
|
||||
return new NotifyMailBuilder($l10n, $this->baseUrl, $this->config,
|
||||
return new NotifyMailBuilder($this->l10n, $this->baseUrl, $this->config,
|
||||
$this->getSiteEmailAddress(), $this->getSiteEmailName());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue