mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
PHP4 lives!
git-svn-id: file:///svn/phpbb/trunk@7014 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bd20743c4c
commit
bf8bea4967
1 changed files with 2 additions and 16 deletions
|
@ -432,14 +432,7 @@ class install_convert extends module
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (version_compare(PHP_VERSION, '5.0.0-dev', '<'))
|
$src_db = $db;
|
||||||
{
|
|
||||||
$src_db = &$db;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$src_db = $db;
|
|
||||||
}
|
|
||||||
$same_db = true;
|
$same_db = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -668,14 +661,7 @@ class install_convert extends module
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (version_compare(PHP_VERSION, '5.0.0-dev', '<'))
|
$src_db = $db;
|
||||||
{
|
|
||||||
$src_db = &$db;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$src_db = $db;
|
|
||||||
}
|
|
||||||
$same_db = true;
|
$same_db = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue