]> git.wh0rd.org Git - tt-rss.git/commitdiff
force text/plain when DevForceUpdate is set
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 12 Jan 2013 18:47:03 +0000 (22:47 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 12 Jan 2013 18:47:03 +0000 (22:47 +0400)
classes/feeds.php

index 7160779ddf31c165df02310ac3e934548e46b611..d10f1fdfac28b3f8a05da03ea2966886eda78858 100644 (file)
@@ -141,6 +141,9 @@ class Feeds extends Handler_Protected {
                                        $next_unread_feed, $offset, $vgr_last_feed = false,\r
                                        $override_order = false, $include_children = false) {\r
 \r
+               if (isset($_REQUEST["DevForceUpdate"]))\r
+                       header("Content-Type: text/plain");\r
+\r
                $disable_cache = false;\r
 \r
                $reply = array();\r