summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-03-31 22:44:50 +0000
committerTom Needham <needham.thomas@gmail.com>2012-03-31 22:44:50 +0000
commitf7d8a8c5717ec3630f5f73905399c14c1f72aa72 (patch)
tree37b4e5ab862398ae0e4452b8ec6195747a80f84a /lib/db.php
parentd20eea9761238e0569f538c6f8b1bb553068bf7b (diff)
parent4e327295c65b25fc5d6ceec5a8242eecf57b94e2 (diff)
downloadnextcloud-server-f7d8a8c5717ec3630f5f73905399c14c1f72aa72.tar.gz
nextcloud-server-f7d8a8c5717ec3630f5f73905399c14c1f72aa72.zip
Merge branch 'master' into migration
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 bfcff678699..a7b7ae75da0 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