mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:10:12 +00:00
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
This commit is contained in:
parent
e57a87f224
commit
e944d7bed6
43 changed files with 76 additions and 120 deletions
|
@ -2372,7 +2372,7 @@ class DFRN
|
|||
|
||||
/// @todo Do we really need this check for HTML elements? (It was copied from the old function)
|
||||
if ((strpos($item['body'], '<') !== false) && (strpos($item['body'], '>') !== false)) {
|
||||
$base_url = \get_app()->getBaseURL();
|
||||
$base_url = DI::baseUrl()->get();
|
||||
$item['body'] = HTML::relToAbs($item['body'], $base_url);
|
||||
|
||||
$item['body'] = HTML::toBBCodeVideo($item['body']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue