summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-26 05:13:50 +0100
committerAndrew Dolgov <[email protected]>2007-08-26 05:13:50 +0100
commitd1f0c58498dbe91ebdaa59565abc1f2c1e076ad6 (patch)
treeeff3b65db994106741a87fab6cf76492f29317ec /modules
parentbc0f07856012aa94eaea7c409e720d73f2fba0c3 (diff)
new feed action: clear articles
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index f0081a097..25cbf707a 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -451,6 +451,11 @@
}
}
+ if ($subop == "clear") {
+ $id = db_escape_string($_GET["id"]);
+ clear_feed_articles($link, $id);
+ }
+
if ($subop == "add") {
if (!WEB_DEMO_MODE) {