]> git.wh0rd.org Git - tt-rss.git/commitdiff
add _DISABLE_HTTP_304
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:11:11 +0000 (02:11 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:11:11 +0000 (02:11 +0400)
include/rssfuncs.php

index 594c2963388ae51f5dddbc57ebd5b36147009674..2f570e37e4b4120b2b188298c877cea9b7961e9d 100644 (file)
 
                $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"));