summaryrefslogtreecommitdiff
path: root/contrib/feed-browser
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-11 09:18:46 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-11 09:18:46 +0100
commit2c3da95f41b83a8709ccda9fdd2cd7bf087e4a15 (patch)
tree64f6ebc2ee017da357717b7a2ce6693b007a9748 /contrib/feed-browser
parentf377746d0c67ac450bf8b64164c78717034c84be (diff)
feedbrowser: remove bogus check so the db will get created and fix SQL to get the feeds created
Diffstat (limited to 'contrib/feed-browser')
-rw-r--r--contrib/feed-browser/includes/functions.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/feed-browser/includes/functions.inc b/contrib/feed-browser/includes/functions.inc
index d4454ca708..4c7841f797 100644
--- a/contrib/feed-browser/includes/functions.inc
+++ b/contrib/feed-browser/includes/functions.inc
@@ -428,7 +428,7 @@ function check_database()
{
$db_exists = FALSE;
- if(file_exists(DB_FILENAME) AND $db = sqlite_open(DB_FILENAME))
+ if($db = sqlite_open(DB_FILENAME))
{
$db_exists = TRUE;
@@ -461,7 +461,7 @@ function check_database()
f_id int(8),
f_name varchar(32),
f_uri varchar(100),
- f_type varchar(16)
+ f_type varchar(16),
f_comments varchar(500))");
insert_feeds ($db) ;