diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-15 08:22:31 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-15 08:22:31 +0100 |
commit | 102619ab87f3adb1d649a41232305eda704c7f57 (patch) | |
tree | 795c44a09ffc8ad125fcd57250ddca6b1ce540a5 /lib/db.php | |
parent | 166693426daee89b9499a81a5f9b4e8e9bbab612 (diff) | |
download | nextcloud-server-102619ab87f3adb1d649a41232305eda704c7f57.tar.gz nextcloud-server-102619ab87f3adb1d649a41232305eda704c7f57.zip |
we should never drop a database
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 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 |