-
Improvement
-
Resolution: Fixed
-
Minor
-
2.0.2, 3.3, 3.11
-
MOODLE_20_STABLE, MOODLE_311_STABLE, MOODLE_33_STABLE
-
MOODLE_311_STABLE
-
MDL-27193_glossaryDB -
This is an extension of MDL-27123.
Someone needs to do a search for $DB in all settings.php files, and all files in admin/settings, and get rid of them all.
The normal trick for doing this is as in this change: https://github.com/timhunt/moodle/commit/7351b54e86a408354e66f885c1561b8cb904032b. Use the lazy-loading facility provided by admin_setting_configselect so that the database query is only done when necessary.