From 073e129ffd34a802e8d5b3879cdeee85835b1847 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Fri, 15 Feb 2013 08:22:31 +0100 Subject: we should never drop a database --- lib/db.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/db.php b/lib/db.php index 57feebe9b2d..826a7f1ddbf 100644 --- a/lib/db.php +++ b/lib/db.php @@ -464,6 +464,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 -- cgit v1.2.3