mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 01:48:48 +00:00
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
|
@ -838,7 +838,7 @@ function statusnet_fetchtimeline(App $a, $uid)
|
|||
$application_name = Config::get('statusnet', 'application_name');
|
||||
}
|
||||
if ($application_name == "") {
|
||||
$application_name = $a->getHostName();
|
||||
$application_name = DI::baseUrl()->getHostname();
|
||||
}
|
||||
|
||||
$connection = new StatusNetOAuth($api, $ckey, $csecret, $otoken, $osecret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue