Skip to content
Snippets Groups Projects
Commit 5ccce7e4 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix a potential infinite loop when installing with sqlite

parent c948137f
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,8 @@ class OC_SETUP {
}
}
else {
//delete the old sqlite database first, might cause infinte loops otherwise
unlink("$datadir/owncloud.db");
//in case of sqlite, we can always fill the database
OC_DB::createDbFromStructure('db_structure.xml');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment