1
0
Fork 0

Set Sitename / site email as sender for system emails

This commit is contained in:
nupplaPhil 2020-02-01 22:30:10 +01:00
commit 9428466d1d
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
8 changed files with 27 additions and 17 deletions

View file

@ -40,13 +40,14 @@ class Emailer
/**
* Creates a new system email
*
* @param App $a The Friendica app
* @param L10n $l10n The chosen language for the new email
*
* @return SystemMailBuilder
*/
public function newSystemMail(L10n $l10n)
public function newSystemMail(App $a, L10n $l10n)
{
return new SystemMailBuilder($l10n, $this->baseUrl, $this->config);
return new SystemMailBuilder($a, $l10n, $this->baseUrl, $this->config);
}
/**