diff options
Diffstat (limited to 'lib/Fetcher')
-rwxr-xr-x | lib/Fetcher/FeedFetcher.php | 1 | ||||
-rw-r--r-- | lib/Fetcher/Fetcher.php | 4 | ||||
-rw-r--r-- | lib/Fetcher/IFeedFetcher.php | 5 |
3 files changed, 1 insertions, 9 deletions
diff --git a/lib/Fetcher/FeedFetcher.php b/lib/Fetcher/FeedFetcher.php index a70e67114..3035b0e5e 100755 --- a/lib/Fetcher/FeedFetcher.php +++ b/lib/Fetcher/FeedFetcher.php @@ -107,7 +107,6 @@ class FeedFetcher implements IFeedFetcher */ public function fetch( string $url, - ?string $lastModified, bool $fullTextEnabled, ?string $user, ?string $password diff --git a/lib/Fetcher/Fetcher.php b/lib/Fetcher/Fetcher.php index 724c264bc..8c755bc85 100644 --- a/lib/Fetcher/Fetcher.php +++ b/lib/Fetcher/Fetcher.php @@ -44,8 +44,6 @@ class Fetcher * Fetch a feed from remote * * @param string $url remote url of the feed - * @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 * @param string|null $user if given, basic auth is set for this feed * @param string|null $password if given, basic auth is set for this feed. Ignored if user is empty @@ -56,7 +54,6 @@ class Fetcher */ public function fetch( string $url, - ?string $lastModified = null, bool $fullTextEnabled = false, ?string $user = null, ?string $password = null @@ -67,7 +64,6 @@ class Fetcher } return $fetcher->fetch( $url, - $lastModified, $fullTextEnabled, $user, $password diff --git a/lib/Fetcher/IFeedFetcher.php b/lib/Fetcher/IFeedFetcher.php index abb367889..45e0915f0 100644 --- a/lib/Fetcher/IFeedFetcher.php +++ b/lib/Fetcher/IFeedFetcher.php @@ -24,9 +24,7 @@ interface IFeedFetcher * Fetch feed content. * * @param string $url remote url of the feed - * @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 + * @param bool $fullTextEnabled If true use a scraper to download the full article * @param string|null $user if given, basic auth is set for this feed * @param string|null $password if given, basic auth is set for this feed. Ignored if user is empty * @@ -37,7 +35,6 @@ interface IFeedFetcher */ public function fetch( string $url, - ?string $lastModified, bool $fullTextEnabled, ?string $user, ?string $password |