force text/plain when DevForceUpdate is set

This commit is contained in:
Andrew Dolgov 2013-01-12 22:47:03 +04:00
parent fb226bb16d
commit 1ae948ed08
1 changed files with 3 additions and 0 deletions

View File

@ -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();