summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-12-28 17:23:01 +0300
committerAndrew Dolgov <[email protected]>2009-12-28 17:23:01 +0300
commite04c18a2c29d10184417d853391ae1d2708d4f4f (patch)
tree9e94e7ce975de92b28aee75e83b9d53764ba3c93 /backend.php
parent15ea06910ca9b50d42d8aae96524365594f9aac3 (diff)
implement archived articles feed; bump schema
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index b4b58a787..cee8c26ce 100644
--- a/backend.php
+++ b/backend.php
@@ -211,7 +211,6 @@
case "view":
$id = db_escape_string($_GET["id"]);
- $feed_id = db_escape_string($_GET["feed"]);
$cids = split(",", db_escape_string($_GET["cids"]));
$mode = db_escape_string($_GET["mode"]);
$omode = db_escape_string($_GET["omode"]);
@@ -224,9 +223,9 @@
// just gets marked as read (it already exists in client cache)
if ($mode == "") {
- outputArticleXML($link, $id, $feed_id);
+ outputArticleXML($link, $id, false);
} else if ($mode == "zoom") {
- outputArticleXML($link, $id, $feed_id, true, true);
+ outputArticleXML($link, $id, false, true, true);
} else {
catchupArticleById($link, $id, 0);
ccache_update($link, $feed_id, $_SESSION["uid"]);
@@ -235,7 +234,7 @@
if (!$_SESSION["bw_limit"]) {
foreach ($cids as $cid) {
if ($cid) {
- outputArticleXML($link, $cid, $feed_id, false);
+ outputArticleXML($link, $cid, false, false);
}
}
}