Schedule history db schema check after MR update

This commit is contained in:
fbsanchez 2021-01-28 18:50:55 +01:00
parent dbc48852aa
commit b8980c189c
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ if (is_ajax()) {
$file_dest = $config['homedir']."/extras/mr/updated/$number.sql";
copy($file, $file_dest);
// After successfully update, schedule history
// database upgrade.
enterprise_include_once('include/functions_config.php');
enterprise_hook('history_db_install');
}
} else {
$error_file = fopen($config['homedir'].'/extras/mr/error.txt', 'w');