mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
Merge branch 'MDL-80523' of https://github.com/paulholden/moodle
This commit is contained in:
commit
980040748c
@ -55,7 +55,7 @@ function xmldb_label_upgrade($oldversion) {
|
||||
$params = ['tofind' => '%@@PLUGINFILE@@%'];
|
||||
$total = $DB->count_records_select('label', $select, $params);
|
||||
if ($total > 0) {
|
||||
$labels = $DB->get_recordset_select('label', $select, $params, 'id, name, intro');
|
||||
$labels = $DB->get_recordset_select('label', $select, $params, '', 'id, name, intro');
|
||||
|
||||
// Show a progress bar.
|
||||
$pbar = new progress_bar('upgrademodlabelpluginfile', 500, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user