aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/install/install_convert.php18
1 files changed, 2 insertions, 16 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index ffbb4e4ef7..0986ef42f9 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -432,14 +432,7 @@ class install_convert extends module
}
else
{
- if (version_compare(PHP_VERSION, '5.0.0-dev', '<'))
- {
- $src_db = &$db;
- }
- else
- {
- $src_db = $db;
- }
+ $src_db = $db;
$same_db = true;
}
@@ -668,14 +661,7 @@ class install_convert extends module
}
else
{
- if (version_compare(PHP_VERSION, '5.0.0-dev', '<'))
- {
- $src_db = &$db;
- }
- else
- {
- $src_db = $db;
- }
+ $src_db = $db;
$same_db = true;
}