From: Andrew Dolgov Date: Wed, 1 May 2013 22:11:11 +0000 (+0400) Subject: add _DISABLE_HTTP_304 X-Git-Tag: 1.7.9~25^2~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5d0d3887af6713a8b3a4d46389aa1ff2216f05f5;p=tt-rss.git add _DISABLE_HTTP_304 --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 594c2963..2f570e37 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -216,6 +216,10 @@ $last_updated = db_fetch_result($result, 0, "last_updated"); $last_article_timestamp = @strtotime(db_fetch_result($result, 0, "last_article_timestamp")); + + if (defined('_DISABLE_HTTP_304')) + $last_article_timestamp = 0; + $owner_uid = db_fetch_result($result, 0, "owner_uid"); $mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update"));