Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()"

This commit is contained in:
nupplaPhil 2020-02-01 23:32:03 +01:00
parent 206b53477e
commit 0e13428210
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 45 additions and 41 deletions

View file

@ -72,7 +72,7 @@ function notification($params)
$hostname = substr($hostname, 0, strpos($hostname, ':'));
}
$sender_email = $a->getSenderEmailAddress();
$sender_email = DI::emailer()->getSiteEmailAddress();
$user = DBA::selectFirst('user', ['nickname', 'page-flags'],
['uid' => $params['uid']]);