From 05cc57cbb11c5e9c180ec74f101341e534422ab3 Mon Sep 17 00:00:00 2001
From: tedbow <tedbow@240860.no-reply.drupal.org>
Date: Mon, 8 Nov 2021 19:16:16 +0000
Subject: [PATCH] Issue #3248312: Remove redundant install-time Composer
 dependencies check

---
 automatic_updates.install | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/automatic_updates.install b/automatic_updates.install
index d3df02c1a0..d181ae6ac8 100644
--- a/automatic_updates.install
+++ b/automatic_updates.install
@@ -16,12 +16,4 @@ function automatic_updates_requirements($phase) {
     $readiness_requirement = \Drupal::classResolver(ReadinessRequirements::class);
     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,
-      ],
-    ];
-  }
 }
-- 
GitLab