From 51f6f91758bfc57e52e8e9316495ae723d7c2332 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 3 Feb 2009 21:45:31 +0300 Subject: remove manual download dialog; make offline updates automatic --- modules/backend-rpc.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/backend-rpc.php') 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 ""; -- cgit v1.2.3-54-g00ecf