summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-24 00:39:59 +0200
committerRobin Appelman <icewind@owncloud.com>2012-07-24 00:39:59 +0200
commit856d9c0b54cc971940df4ed64429d994faf770f9 (patch)
treed89f73b5e24b6c0535e6669080f15ef5e1165e04 /lib/db.php
parent796768577154dc9cc2542e33d8d81c6a5fa77dea (diff)
downloadnextcloud-server-856d9c0b54cc971940df4ed64429d994faf770f9.tar.gz
nextcloud-server-856d9c0b54cc971940df4ed64429d994faf770f9.zip
some indention fixes
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/db.php b/lib/db.php
index 6f083d17cfb..6971fe4a583 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -368,9 +368,6 @@ class OC_DB {
if( $definition instanceof MDB2_Schema_Error ){
die( $definition->getMessage().': '.$definition->getUserInfo());
}
-// if(OC_Config::getValue('dbtype','sqlite')=='sqlite'){
-// $definition['overwrite']=true;//always overwrite for sqlite
-// }
$ret=self::$schema->createDatabase( $definition );
// Die in case something went wrong
@@ -527,8 +524,7 @@ class OC_DB {
* @brief replaces the owncloud tables with a new set
* @param $file string path to the MDB2 xml db export file
*/
- public static function replaceDB( $file ){
-
+ public static function replaceDB( $file ){
$apps = OC_App::getAllApps();
self::beginTransaction();
// Delete the old tables