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

This commit is contained in:
Eloy Lafuente (stronk7)
2020-10-30 19:27:14 +01:00
parent 462fe3e925
commit 864ddb77c5
@@ -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;
}