From 81cd6cacaa8556c369427d3c9f75329c44a89896 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Oct 2007 11:58:44 +0100 Subject: [PATCH] actually implement manual purge RPC call --- modules/backend-rpc.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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"; } ?> -- 2.39.5