diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-18 11:39:04 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-18 11:39:04 +0100 |
commit | 2675290325dc6a67f6719febe5ed0a546bd7a32a (patch) | |
tree | 4bb9a7f1b3de7960e98a4a51e76672eca7c62ca3 /lib/db.php | |
parent | 4b80466880b4e2daf25e38d621a0ebac608d335d (diff) | |
parent | 3b9796bfcce38e6e4138ffc68f5a2ff6e34492a0 (diff) | |
download | nextcloud-server-2675290325dc6a67f6719febe5ed0a546bd7a32a.tar.gz nextcloud-server-2675290325dc6a67f6719febe5ed0a546bd7a32a.zip |
Merge branch 'master' into master-sqlserver
Diffstat (limited to 'lib/db.php')
-rw-r--r-- | lib/db.php | 3 |
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 |