Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-18 14:39:04 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-18 14:39:04 +0400
commit2675290325dc6a67f6719febe5ed0a546bd7a32a (patch)
tree4bb9a7f1b3de7960e98a4a51e76672eca7c62ca3 /lib/db.php
parent4b80466880b4e2daf25e38d621a0ebac608d335d (diff)
parent3b9796bfcce38e6e4138ffc68f5a2ff6e34492a0 (diff)
Merge branch 'master' into master-sqlserver
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 13173b2943f..fb2c027cdb9 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -520,6 +520,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