Skip to content
Snippets Groups Projects

Issue #3263865: Module uninstall form fails because of our shim

1 file
+ 8
1
Compare changes
  • Side-by-side
  • Inline
@@ -44,7 +44,14 @@ class UpdateController extends BaseController {
if ($this->postUpdateRegistry->getPendingUpdateFunctions()) {
return TRUE;
}
return !empty(update_get_update_list());
$modules = array_keys($this->moduleHandler()->getModuleList());
foreach ($modules as $module) {
if (drupal_get_schema_versions($module)) {
return TRUE;
}
}
return FALSE;
}
}
Loading