mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
Remove deprecated App::getUrlPath - process methods to DI::baseUrl()->getUrlPath()
This commit is contained in:
parent
e93fba5136
commit
2900389696
9 changed files with 12 additions and 23 deletions
|
@ -2266,7 +2266,7 @@ class Contact
|
|||
|
||||
if (($protocol === Protocol::DFRN) && !DBA::isResult($contact)) {
|
||||
if ($interactive) {
|
||||
if (strlen($a->getURLPath())) {
|
||||
if (strlen(DI::baseUrl()->getUrlPath())) {
|
||||
$myaddr = bin2hex(System::baseUrl() . '/profile/' . $a->user['nickname']);
|
||||
} else {
|
||||
$myaddr = bin2hex($a->user['nickname'] . '@' . $a->getHostName());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue