MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached)
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 18 Oct 2020 09:59:59 +0000 (11:59 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 30 Oct 2020 18:27:14 +0000 (19:27 +0100)
admin/tool/xmldb/actions/XMLDBCheckAction.class.php

index 2514c61..5ffc70e 100644 (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;
                             }