mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Move "HTTPRequest::finalUrl" dynamic
This commit is contained in:
parent
f36ca4fcf4
commit
90193bd02b
2 changed files with 2 additions and 2 deletions
|
@ -1296,7 +1296,7 @@ function twitter_expand_entities($body, stdClass $status, $picture)
|
|||
|
||||
$expanded_url = $url->expanded_url;
|
||||
|
||||
$final_url = HTTPRequest::finalUrl($url->expanded_url);
|
||||
$final_url = DI::httpRequest()->finalUrl($url->expanded_url);
|
||||
|
||||
$oembed_data = OEmbed::fetchURL($final_url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue