we should never drop a database
This commit is contained in:
parent
166693426d
commit
102619ab87
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue