Skip to content
Snippets Groups Projects
Commit 05cc57cb authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3248312: Remove redundant install-time Composer dependencies check

parent 2476a5d8
No related branches found
No related tags found
1 merge request!107Issue #3248312: Move Composer dependencies check on install to package_manager
...@@ -16,12 +16,4 @@ function automatic_updates_requirements($phase) { ...@@ -16,12 +16,4 @@ function automatic_updates_requirements($phase) {
$readiness_requirement = \Drupal::classResolver(ReadinessRequirements::class); $readiness_requirement = \Drupal::classResolver(ReadinessRequirements::class);
return $readiness_requirement->getRequirements(); return $readiness_requirement->getRequirements();
} }
if ($phase === 'install' && !class_exists('PhpTuf\ComposerStager\Domain\Beginner')) {
return [
'automatic_updates' => [
'description' => t('External dependencies for Automatic Updates are not available. Composer must be used to download the module with dependencies.'),
'severity' => REQUIREMENT_ERROR,
],
];
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment