mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Remove unused parameter
This commit is contained in:
parent
d498d15200
commit
08771d96c2
5 changed files with 13 additions and 18 deletions
|
@ -484,7 +484,7 @@ class Feed
|
|||
$item["body"] = trim($item["title"]);
|
||||
}
|
||||
|
||||
$data = ParseUrl::getSiteinfoCached($item['plink'], true);
|
||||
$data = ParseUrl::getSiteinfoCached($item['plink']);
|
||||
if (!empty($data['text']) && !empty($data['title']) && (mb_strlen($item['body']) < mb_strlen($data['text']))) {
|
||||
// When the fetched page info text is longer than the body, we do try to enhance the body
|
||||
if (!empty($item['body']) && (strpos($data['title'], $item['body']) === false) && (strpos($data['text'], $item['body']) === false)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue