mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11015] Correctly transform 'mysqli' etc. in phpbb_convert_30_dbms_to_31
PHPBB3-11015
This commit is contained in:
committed by
Oleg Pudeyev
parent
9e3fd3bf8e
commit
ee7dc9e5a0
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user