diff options
author | Andrew Dolgov <[email protected]> | 2005-11-18 13:21:16 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-18 13:21:16 +0100 |
commit | fefa6ca3afec86c405b8df13386ed0cc43668a0a (patch) | |
tree | e5f993f9c5b36932a8972a1deee65014655f3b14 /backend.php | |
parent | 717f5e645b47a444bb0a2f524658e36ad1a4b74f (diff) |
globalPurge rpc call
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backend.php b/backend.php index f7318ff47..a2f6a0da7 100644 --- a/backend.php +++ b/backend.php @@ -398,6 +398,15 @@ print "<error code='$error_code'/>"; } + + if ($subop == "globalPurge") { + + print "<rpc-reply>"; + global_purge_old_posts($link, true); + print "</rpc-reply>"; + + } + } if ($op == "feeds") { @@ -2023,7 +2032,6 @@ } - db_close($link); ?> |