we should never drop a database

This commit is contained in:
Thomas Mueller 2013-02-15 08:22:31 +01:00
parent 166693426d
commit 102619ab87
1 changed files with 3 additions and 0 deletions

View File

@ -497,6 +497,9 @@ class OC_DB {
$definition['name']=OC_Config::getValue( "dbuser", $oldname );
}
// we should never drop a database
$definition['overwrite'] = false;
$ret=self::$schema->createDatabase( $definition );
// Die in case something went wrong