mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:50:11 +00:00
Move redundant System::removedBaseUrl() to DI::baseUrl()->remove() calls
This commit is contained in:
parent
3f34229752
commit
a4a7f19df1
6 changed files with 9 additions and 12 deletions
|
@ -9,8 +9,8 @@ use Friendica\Core\Protocol;
|
|||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
|
||||
|
@ -116,7 +116,7 @@ class ForumManager
|
|||
'name' => $contact['name'],
|
||||
'cid' => $contact['id'],
|
||||
'selected' => $selected,
|
||||
'micro' => System::removedBaseUrl(ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO)),
|
||||
'micro' => DI::baseUrl()->remove(ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO)),
|
||||
'id' => ++$id,
|
||||
];
|
||||
$entries[] = $entry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue