mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Return backup_config records as an object instead of an array.
This commit is contained in:
parent
de4746a8a2
commit
49b95c3068
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
||||||
$backup_config[$config->name] = $config->value;
|
$backup_config[$config->name] = $config->value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $backup_config;
|
return (object)$backup_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Delete old data in backup tables (if exists)
|
//Delete old data in backup tables (if exists)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue