mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +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
|
@ -18,6 +18,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\DI;
|
||||
|
||||
function diaspora_install()
|
||||
{
|
||||
|
@ -231,7 +232,7 @@ function diaspora_post_local(App $a, array &$b)
|
|||
|
||||
function diaspora_send(App $a, array &$b)
|
||||
{
|
||||
$hostname = $a->getHostName();
|
||||
$hostname = DI::baseUrl()->getHostname();
|
||||
|
||||
Logger::log('diaspora_send: invoked');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue