Commit 354b62a0 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#208602 follow up by myself and webernet: invert conditional to properly...

#208602 follow up by myself and webernet: invert conditional to properly update schema versions, when needed
parent 3a126a55
......@@ -176,9 +176,8 @@ function update_do_one($module, $number, &$context) {
if (!empty($ret['#abort'])) {
$context['results'][$module]['#abort'] = TRUE;
}
// The schema update is not updated once a module's updates have been aborted.
if ($context['finished'] == 1 && !empty($context['results'][$module]['#abort'])) {
// Update the installed version
// Record the schema update if it was completed successfully.
if ($context['finished'] == 1 && empty($context['results'][$module]['#abort'])) {
drupal_set_installed_schema_version($module, $number);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment