summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php10
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);
?>