Skip to content

Commit

Permalink
Merge branch 'MDL-83235' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Sep 26, 2024
2 parents e0c8730 + 8e46e81 commit a397b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/bank/columnsortorder/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function xmldb_qbank_columnsortorder_upgrade(int $oldversion): bool {
// In Moodle 4.3, the values are stored as qbank_statistics\columns\discriminative_efficiency-discriminative_efficiency.
// So updating the old values to match the new format.
// Update the columns records for qbank_columnsortorder plugin.
$pluginconfigs = $DB->get_records('config_plugins', ['plugin' => 'qbank_columnsortorder'], 'name, value');
$pluginconfigs = $DB->get_records('config_plugins', ['plugin' => 'qbank_columnsortorder'], 'name');

foreach ($pluginconfigs as $config) {
if ($config->name == 'version') {
Expand Down

0 comments on commit a397b07

Please sign in to comment.