Replacing deprecated log calls

This commit is contained in:
Michael 2020-11-18 09:14:12 +00:00
parent 4f7d42a0d3
commit f36ecdf6bf

View file

@ -350,7 +350,7 @@ class DBStructure
$errors = ''; $errors = '';
Logger::log('updating structure', Logger::DEBUG); Logger::info('updating structure');
// Get the current structure // Get the current structure
$database = []; $database = [];
@ -363,7 +363,7 @@ class DBStructure
foreach ($tables AS $table) { foreach ($tables AS $table) {
$table = current($table); $table = current($table);
Logger::log(sprintf('updating structure for table %s ...', $table), Logger::DEBUG); Logger::info('updating structure', ['table' => $table]);
$database[$table] = self::tableStructure($table); $database[$table] = self::tableStructure($table);
} }
} }