mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-07 01:59:15 +00:00
implement sequence numbers for counter rpc requests
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
function handle_rpc_request($link) {
|
||||
|
||||
$subop = $_REQUEST["subop"];
|
||||
$seq = (int) $_REQUEST["seq"];
|
||||
|
||||
if ($subop == "setprofile") {
|
||||
$id = db_escape_string($_REQUEST["id"]);
|
||||
@@ -285,6 +286,9 @@
|
||||
|
||||
print "<rpc-reply>";
|
||||
|
||||
if ($seq)
|
||||
print "<seq>$seq</seq>";
|
||||
|
||||
if ($last_article_id != getLastArticleId($link)) {
|
||||
print "<counters><![CDATA[";
|
||||
$omode = $_REQUEST["omode"];
|
||||
|
||||
Reference in New Issue
Block a user