Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()

This commit is contained in:
nupplaPhil 2019-12-16 00:47:24 +01:00
parent 99db3452e3
commit 0775c28854
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
7 changed files with 13 additions and 9 deletions

View file

@ -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');