diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-09 18:23:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-09 18:23:19 +0200 |
commit | 2d17054d766746456faf769c920c8674b5afc4e5 (patch) | |
tree | 47f729c3510d771a16d08c0fccaa4e75625e189a /fetcher | |
parent | 78fee82a8447855ba549f4a0e52ddf0a1f1ab2be (diff) |
add last modified fields for feed and folder and move etag and lastmodified to http_etag and http_last_modified columns
Diffstat (limited to 'fetcher')
-rw-r--r-- | fetcher/feedfetcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php index 18f0f8093..42cdfe0ba 100644 --- a/fetcher/feedfetcher.php +++ b/fetcher/feedfetcher.php @@ -237,8 +237,8 @@ class FeedFetcher implements IFeedFetcher { $feed->setUrl($url); // the url used to add the feed $feed->setLocation($location); // the url where the feed was found $feed->setLink($link); // <link> attribute in the feed - $feed->setLastModified($modified); - $feed->setEtag($etag); + $feed->setHttpLastModified($modified); + $feed->setHttpEtag($etag); $feed->setAdded($this->time->getTime()); if ($getFavicon) { |