MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached)

This commit is contained in:
Eloy Lafuente (stronk7) 2020-10-18 11:59:59 +02:00
parent 533c35ff99
commit 12e273dddd

View File

@ -149,7 +149,7 @@ abstract class XMLDBCheckAction extends XMLDBAction {
continue;
}
// Fetch metadata from physical DB. All the columns info.
if (!$metacolumns = $DB->get_columns($xmldb_table->getName())) {
if (!$metacolumns = $DB->get_columns($xmldb_table->getName(), false)) {
// / Skip table if no metacolumns is available for it
continue;
}