[various] Adapt BaseURL calls for new UriInterface
This commit is contained in:
parent
75df306424
commit
648fadedd3
30 changed files with 478 additions and 479 deletions
|
@ -43,7 +43,7 @@ class NotifyAllEmail extends Email
|
|||
}
|
||||
|
||||
if (!$config->get('config', 'sender_email')) {
|
||||
$sender_email = 'noreply@' . $baseUrl->getHostname();
|
||||
$sender_email = 'noreply@' . $baseUrl->getHost();
|
||||
} else {
|
||||
$sender_email = $config->get('config', 'sender_email');
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ function notifyall_module() {}
|
|||
|
||||
function notifyall_addon_admin(string &$o)
|
||||
{
|
||||
$o = '<div></div> <a href="' . DI::baseUrl()->get() . '/notifyall">' . DI::l10n()->t('Send email to all members') . '</a></br/>';
|
||||
$o = '<div></div> <a href="' . DI::baseUrl() . '/notifyall">' . DI::l10n()->t('Send email to all members') . '</a></br/>';
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue