mirror of
https://github.com/friendica/friendica
synced 2025-04-29 02:24:22 +02:00
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
parent
2900389696
commit
50be94aa5e
23 changed files with 34 additions and 50 deletions
|
@ -180,7 +180,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.','',$a->getHostName());
|
||||
$localhost = str_replace('www.','', DI::baseUrl()->getHostname());
|
||||
if (strpos($localhost,':')) {
|
||||
$localhost = substr($localhost,0,strpos($localhost,':'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue