summaryrefslogtreecommitdiff
path: root/modules/backend-rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-03 21:45:31 +0300
committerAndrew Dolgov <[email protected]>2009-02-03 21:45:31 +0300
commit51f6f91758bfc57e52e8e9316495ae723d7c2332 (patch)
tree11e81638b5640671c5fa9ecbe9f11b41c17f5396 /modules/backend-rpc.php
parent429326510c44900dd2dd9b6bd6f48bb93dbd039e (diff)
remove manual download dialog; make offline updates automatic
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r--modules/backend-rpc.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 3b5b2d63f..967e97aea 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -517,10 +517,12 @@
if ($subop == "download") {
$stage = (int) $_REQUEST["stage"];
$cid = db_escape_string($_REQUEST["cid"]);
- $amount = (int) $_REQUEST["amount"];
- $unread_only = db_escape_string($_REQUEST["unread_only"]);
+ //$amount = (int) $_REQUEST["amount"];
+ //$unread_only = db_escape_string($_REQUEST["unread_only"]);
+ //if (!$amount) $amount = 50;
- if (!$amount) $amount = 50;
+ $amount = 100;
+ $unread_only = true;
print "<rpc-reply>";