From e5c009599d428db392e06e374bb5e68b0eb773c8 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 28 Mar 2012 16:38:42 +0200 Subject: [PATCH] remove check for variable which was set one line above - bugfix for oc-324 --- lib/db.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/db.php b/lib/db.php index 9fab51edfcd..a0fb6c385d8 100644 --- a/lib/db.php +++ b/lib/db.php @@ -318,9 +318,6 @@ class OC_DB { // Make changes and save them to an in-memory file $file2 = 'static://db_scheme'; - if($file2 == ''){ - die('could not create tempfile in get_temp_dir() - aborting'); - } $content = str_replace( '*dbname*', $CONFIG_DBNAME, $content ); $content = str_replace( '*dbprefix*', $CONFIG_DBTABLEPREFIX, $content ); if( $CONFIG_DBTYPE == 'pgsql' ){ //mysql support it too but sqlite doesn't