mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 21:45:56 +00:00
rpc/publ,mark: return some xml
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user