mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
PHPBB3-12446
This commit is contained in:
@@ -160,11 +160,11 @@ abstract class migration
|
||||
else
|
||||
{
|
||||
$result = $this->db->sql_query($sql);
|
||||
if ($this->db->sql_error_triggered)
|
||||
if ($this->db->get_sql_error_triggered())
|
||||
{
|
||||
$this->errors[] = array(
|
||||
'sql' => $this->db->sql_error_sql,
|
||||
'code' => $this->db->sql_error_returned,
|
||||
'sql' => $this->db->get_sql_error_sql(),
|
||||
'code' => $this->db->get_sql_error_returned(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user