-
Bug
-
Resolution: Fixed
-
Major
-
2.0.8, 2.1.5, 2.2.2
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
w12_
MDL-32071_m23_dbfamily -
-
Easy
-
In all version of Moodle 2.x, the following files have occurrences of call to non-existing function get_db_family():
lib/searchlib.php:362: if ($DB->get_db_family() != 'mysql') {
lib/searchlib.php:369: if ($DB->get_db_family() == 'mysql') {
mod/wiki/db/migration/wiki/ewikimoodlelib.php:195: switch ($DB->get_db_family()) {
Fix is to change it to get_dbfamily(). This problem is the same as was reported in MDL-19620.