summaryrefslogtreecommitdiff
path: root/modules/backend-rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-09 16:24:35 +0100
committerAndrew Dolgov <[email protected]>2007-08-09 16:24:35 +0100
commit49aa6de96422b2ffecf06e51e19e2ceb8cd005ec (patch)
treedb7660d6862eedcb01bb76a827af17b2c42f2b5f /modules/backend-rpc.php
parent0a8011eb75b506d26850d476ff6d50c15ad948cc (diff)
rpc/publ,mark: return some xml
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r--modules/backend-rpc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 64b49ffe4..3d0adf57c 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -67,6 +67,9 @@
$result = db_query($link, "UPDATE ttrss_user_entries SET marked = $mark
WHERE ref_id = '$id' AND owner_uid = " . $_SESSION["uid"]);
+
+ print "<rpc-reply><mark>$id</mark></rpc-reply>";
+
}
if ($subop == "publ") {
@@ -83,6 +86,9 @@
$result = db_query($link, "UPDATE ttrss_user_entries SET published = $pub
WHERE ref_id = '$id' AND owner_uid = " . $_SESSION["uid"]);
+
+ print "<rpc-reply><pub>$id</pub></rpc-reply>";
+
}
if ($subop == "updateFeed") {