Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
This commit is contained in:
parent
5609e94b05
commit
e93fba5136
10 changed files with 17 additions and 28 deletions
|
@ -18,6 +18,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
|
@ -163,7 +164,7 @@ function vier_community_info()
|
|||
$entry = Renderer::replaceMacros($tpl, [
|
||||
'$id' => $rr['id'],
|
||||
'$profile_link' => $profile_link,
|
||||
'$photo' => $a->removeBaseURL($rr['thumb']),
|
||||
'$photo' => DI::baseUrl()->remove($rr['thumb']),
|
||||
'$alt_text' => $rr['name']]);
|
||||
$aside['$lastusers_items'][] = $entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue