mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-18 21:15:27 +00:00
globalPurge rpc call
This commit is contained in:
10
backend.php
10
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);
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user