Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
parent
99db3452e3
commit
0775c28854
7 changed files with 13 additions and 9 deletions
|
@ -57,7 +57,7 @@ function notifyall_post(App $a)
|
|||
}
|
||||
|
||||
if (!Config::get('config', 'sender_email')) {
|
||||
$sender_email = 'noreply@' . $a->getHostName();
|
||||
$sender_email = 'noreply@' . DI::baseUrl()->getHostname();
|
||||
} else {
|
||||
$sender_email = Config::get('config', 'sender_email');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue