[various] Adapt BaseURL calls for new UriInterface

This commit is contained in:
Philipp 2023-02-18 20:57:09 +01:00
parent 75df306424
commit 648fadedd3
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
30 changed files with 478 additions and 479 deletions

View file

@ -38,7 +38,7 @@ class SecureTestEmail extends Email
{
$sitename = $config->get('config', 'sitename');
$hostname = $baseUrl->getHostname();
$hostname = $baseUrl->getHost();
if (strpos($hostname, ':')) {
$hostname = substr($hostname, 0, strpos($hostname, ':'));
}