mirror of
https://github.com/friendica/friendica
synced 2025-04-26 02:30:11 +00:00
Remove unused parameter
This commit is contained in:
parent
d498d15200
commit
08771d96c2
5 changed files with 13 additions and 18 deletions
|
@ -151,7 +151,7 @@ class OEmbed
|
|||
|
||||
// Improve the OEmbed data with data from OpenGraph, Twitter cards and other sources
|
||||
if ($use_parseurl) {
|
||||
$data = ParseUrl::getSiteinfoCached($embedurl, true, false);
|
||||
$data = ParseUrl::getSiteinfoCached($embedurl, false);
|
||||
|
||||
if (($oembed->type == 'error') && empty($data['title']) && empty($data['text'])) {
|
||||
return $oembed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue