diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-02-11 09:15:49 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-02-16 10:16:15 +0100 |
commit | c09b4d8d3341780022dfdd3edbe5352a1d4a4abd (patch) | |
tree | 80c40089cd12b138a0c2db5027f1362baed5786e /lib/Fetcher/Fetcher.php | |
parent | 961c56177a1cd56c1d5292d3246345ab31fb4f86 (diff) |
prefer the feeds logo over the favicon
The logo of the feed is prefered if it is a square picture,
else the favicon is returned.
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Diffstat (limited to 'lib/Fetcher/Fetcher.php')
-rw-r--r-- | lib/Fetcher/Fetcher.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Fetcher/Fetcher.php b/lib/Fetcher/Fetcher.php index 883fa49e4..724c264bc 100644 --- a/lib/Fetcher/Fetcher.php +++ b/lib/Fetcher/Fetcher.php @@ -44,7 +44,6 @@ class Fetcher * Fetch a feed from remote * * @param string $url remote url of the feed - * @param boolean $getFavicon if the favicon should also be fetched, defaults to true * @param string|null $lastModified a last modified value from an http header defaults to false. * If lastModified matches the http header from the feed no results are fetched * @param bool $fullTextEnabled If true use a scraper to download the full article @@ -57,7 +56,6 @@ class Fetcher */ public function fetch( string $url, - bool $getFavicon = true, ?string $lastModified = null, bool $fullTextEnabled = false, ?string $user = null, @@ -69,7 +67,6 @@ class Fetcher } return $fetcher->fetch( $url, - $getFavicon, $lastModified, $fullTextEnabled, $user, |