[oe-commits] Koen Kooi : feedbrowser: remove bogus check so the db will get created and fix SQL to get the feeds created
GIT User account
git at amethyst.openembedded.net
Tue Nov 11 14:04:39 UTC 2008
Module: openembedded.git
Branch: shared/xorg-7.4-update
Commit: 2c3da95f41b83a8709ccda9fdd2cd7bf087e4a15
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2c3da95f41b83a8709ccda9fdd2cd7bf087e4a15
Author: Koen Kooi <koen at openembedded.org>
Date: Tue Nov 11 09:18:46 2008 +0100
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 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/feed-browser/includes/functions.inc b/contrib/feed-browser/includes/functions.inc
index d4454ca..4c7841f 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) ;
More information about the Openembedded-commits
mailing list