Remove unused parameter

This commit is contained in:
Michael 2021-03-16 07:15:20 +00:00
parent d498d15200
commit 08771d96c2
5 changed files with 13 additions and 18 deletions

View file

@ -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)) {