From 856d9c0b54cc971940df4ed64429d994faf770f9 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 24 Jul 2012 00:39:59 +0200 Subject: some indention fixes --- lib/db.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/db.php') 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 -- cgit v1.2.3