From 2c3da95f41b83a8709ccda9fdd2cd7bf087e4a15 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 11 Nov 2008 09:18:46 +0100 Subject: feedbrowser: remove bogus check so the db will get created and fix SQL to get the feeds created --- contrib/feed-browser/includes/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/feed-browser/includes') 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) ; -- cgit v1.2.3