Adapt BaseURL calls to new UriInterface

This commit is contained in:
Philipp
2023-02-18 20:57:30 +01:00
parent 9e6d95284b
commit f0c29edcde
101 changed files with 218 additions and 241 deletions

View File

@@ -212,7 +212,7 @@ class Notifier
// if $parent['wall'] == 1 we will already have the parent message in our array
// and we will relay the whole lot.
$localhost = str_replace('www.','', DI::baseUrl()->getHostname());
$localhost = str_replace('www.','', DI::baseUrl()->getHost());
if (strpos($localhost,':')) {
$localhost = substr($localhost,0,strpos($localhost,':'));
}