git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f377746
)
feedbrowser: remove bogus check so the db will get created and fix SQL to get the...
author
Koen Kooi
<koen@openembedded.org>
Tue, 11 Nov 2008 08:18:46 +0000
(09:18 +0100)
committer
Koen Kooi
<koen@openembedded.org>
Tue, 11 Nov 2008 08:18:46 +0000
(09:18 +0100)
contrib/feed-browser/includes/functions.inc
patch
|
blob
|
history
diff --git
a/contrib/feed-browser/includes/functions.inc
b/contrib/feed-browser/includes/functions.inc
index
d4454ca
..
4c7841f
100644
(file)
--- 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) ;