mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 21:25:55 +00:00
updating: do not use cache timestamp if it is unusable for current feed;
sort chronologically instead of random
This commit is contained in:
@@ -320,7 +320,7 @@
|
||||
$ch = curl_init($url);
|
||||
}
|
||||
|
||||
if ($timestamp) {
|
||||
if ($timestamp && !$post_query) {
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER,
|
||||
array("If-Modified-Since: ".gmdate('D, d M Y H:i:s \G\M\T', $timestamp)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user