mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-25290 conversion: Converted config to use MUC
This commit is contained in:
parent
9da506c2a3
commit
007bfe8b4d
6 changed files with 76 additions and 57 deletions
|
@ -713,8 +713,8 @@ function initialise_cfg() {
|
|||
|
||||
try {
|
||||
if ($DB) {
|
||||
$localcfg = $DB->get_records_menu('config', array(), '', 'name,value');
|
||||
foreach ($localcfg as $name=>$value) {
|
||||
$localcfg = get_config('core');
|
||||
foreach ($localcfg as $name => $value) {
|
||||
if (property_exists($CFG, $name)) {
|
||||
// config.php settings always take precedence
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue