diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/backend.php b/backend.php index 97ce7b11f..fe54e36a7 100644 --- a/backend.php +++ b/backend.php @@ -206,9 +206,11 @@ catchupArticleById($link, $id, 0); } - foreach ($cids as $cid) { - if ($cid) { - outputArticleXML($link, $cid, $feed_id, false); + if (!$_SESSION["bw_limit"]) { + foreach ($cids as $cid) { + if ($cid) { + outputArticleXML($link, $cid, $feed_id, false); + } } } @@ -280,7 +282,7 @@ if ($_GET["debug"]) $timing_info = print_checkpoint("10", $timing_info); - if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE')) { + if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE') && !$_SESSION["bw_limit"]) { print "<articles>"; foreach ($topmost_article_ids as $id) { outputArticleXML($link, $id, $feed, false); |