mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
8523031141
1 changed files with 4 additions and 6 deletions
|
@ -1167,12 +1167,10 @@ class install_install extends module
|
||||||
|
|
||||||
foreach ($sql_query as $sql)
|
foreach ($sql_query as $sql)
|
||||||
{
|
{
|
||||||
//$sql = trim(str_replace('|', ';', $sql));
|
// Ignore errors when the functions or types already exist
|
||||||
if (!$db->sql_query($sql))
|
// to allow installing phpBB twice in the same database with
|
||||||
{
|
// a different prefix
|
||||||
$error = $db->sql_error();
|
$db->sql_query($sql);
|
||||||
$this->p_master->db_error($error['message'], $sql, __LINE__, __FILE__);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
unset($sql_query);
|
unset($sql_query);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue