Skip to content
Snippets Groups Projects
Commit 102619ab authored by Thomas Müller's avatar Thomas Müller
Browse files

we should never drop a database

parent 16669342
Branches
No related tags found
No related merge requests found
...@@ -497,6 +497,9 @@ class OC_DB { ...@@ -497,6 +497,9 @@ class OC_DB {
$definition['name']=OC_Config::getValue( "dbuser", $oldname ); $definition['name']=OC_Config::getValue( "dbuser", $oldname );
} }
// we should never drop a database
$definition['overwrite'] = false;
$ret=self::$schema->createDatabase( $definition ); $ret=self::$schema->createDatabase( $definition );
// Die in case something went wrong // Die in case something went wrong
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment