summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-03-28 16:38:42 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-03-28 16:38:42 +0200
commite5c009599d428db392e06e374bb5e68b0eb773c8 (patch)
tree7db80afc5bd6771b44d8199cce81d5ecb143d7a8 /lib/db.php
parent0d16f177cba150156253b2a436f67456fd3d3984 (diff)
downloadnextcloud-server-e5c009599d428db392e06e374bb5e68b0eb773c8.tar.gz
nextcloud-server-e5c009599d428db392e06e374bb5e68b0eb773c8.zip
remove check for variable which was set one line above - bugfix for oc-324
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php3
1 files changed, 0 insertions, 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