summaryrefslogtreecommitdiffstats
path: root/contrib/feed-browser/update.php
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-08-25 10:20:16 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-08-25 10:20:16 +0000
commita4d66865597b43a26875dd649bedf0ca25099e8f (patch)
treeab54b11b18782141927898a40d7e7fa067d30227 /contrib/feed-browser/update.php
parent5a7bb23659fa97a1ac55bf6769605cf342a62911 (diff)
downloadopenembedded-a4d66865597b43a26875dd649bedf0ca25099e8f.tar.gz
feed-browser: feeds adding improved, updater more silent
- includes/config.inc contain array with all feeds - check_database() adds feeds if they are not present - updater does not show feed URL
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;