summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/db.php b/lib/db.php
index 28923e48f0c..edbc2fe13ed 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -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