summaryrefslogtreecommitdiff
path: root/contrib/feed-browser/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/feed-browser/update.php')
-rw-r--r--contrib/feed-browser/update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/feed-browser/update.php b/contrib/feed-browser/update.php
index ed7d6e47ef..94c8608616 100644
--- a/contrib/feed-browser/update.php
+++ b/contrib/feed-browser/update.php
@@ -16,6 +16,7 @@
*
*/
+require_once 'includes/config.inc';
require_once 'includes/functions.inc';
/*
@@ -45,7 +46,7 @@ $feeds = db_query("SELECT f_name, f_uri FROM feeds");
foreach($feeds as $feed)
{
- print("Updating {$feed['f_name']}: {$feed['f_uri']}: ");
+ print("Updating {$feed['f_name']}: ");
db_query_n("DELETE FROM packages WHERE p_feed = '{$feed['f_name']}'");
$count = 0;