mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11015] Correctly transform 'mysqli' etc. in phpbb_convert_30_dbms_to_31
PHPBB3-11015
This commit is contained in:
parent
9e3fd3bf8e
commit
ee7dc9e5a0
1 changed files with 9 additions and 0 deletions
|
@ -5573,6 +5573,15 @@ function phpbb_convert_30_dbms_to_31($dbms)
|
|||
|
||||
if (class_exists($dbms))
|
||||
{
|
||||
/*
|
||||
$reflection = new \ReflectionClass($dbms);
|
||||
|
||||
if ($reflection->isSubclassOf('phpbb_db_driver'))
|
||||
{
|
||||
return $dbms;
|
||||
}
|
||||
*/
|
||||
|
||||
return $dbms;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue