From: Andrew Dolgov Date: Thu, 18 Oct 2007 10:58:44 +0000 (+0100) Subject: actually implement manual purge RPC call X-Git-Tag: 1.2.16~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=81cd6cacaa8556c369427d3c9f75329c44a89896;p=tt-rss.git actually implement manual purge RPC call --- diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index b54bd783..5a8452ea 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -376,6 +376,31 @@ return; } + if ($subop == "purge") { + $ids = split(",", db_escape_string($_GET["ids"])); + $days = sprintf("%d", $_GET["days"]); + + print ""; + + print ""; + + print ""; + + return; + } + print "Unknown method: $subop"; } ?>