From 1ae948ed08cb12a8b4712b0c998b8230b38f462b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 12 Jan 2013 22:47:03 +0400 Subject: [PATCH] force text/plain when DevForceUpdate is set --- classes/feeds.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/feeds.php b/classes/feeds.php index 7160779d..d10f1fdf 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -141,6 +141,9 @@ class Feeds extends Handler_Protected { $next_unread_feed, $offset, $vgr_last_feed = false, $override_order = false, $include_children = false) { + if (isset($_REQUEST["DevForceUpdate"])) + header("Content-Type: text/plain"); + $disable_cache = false; $reply = array(); -- 2.39.5