diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-12-14 01:08:09 +0100 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-13 19:18:49 -0500 |
commit | ee7dc9e5a061038eadce40ed295d47f978b9e567 (patch) | |
tree | b03b84454af9f17b083605900fe45759299f00bb /phpBB/includes/functions.php | |
parent | 9e3fd3bf8e8ff08b159d9151aef6f9bb6b9244ee (diff) | |
download | forums-ee7dc9e5a061038eadce40ed295d47f978b9e567.tar forums-ee7dc9e5a061038eadce40ed295d47f978b9e567.tar.gz forums-ee7dc9e5a061038eadce40ed295d47f978b9e567.tar.bz2 forums-ee7dc9e5a061038eadce40ed295d47f978b9e567.tar.xz forums-ee7dc9e5a061038eadce40ed295d47f978b9e567.zip |
[ticket/11015] Correctly transform 'mysqli' etc. in phpbb_convert_30_dbms_to_31
PHPBB3-11015
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 5c08d457b6..575dd11388 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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; } |