From 01ab625f72b0de67fb9e9384a4344150e0d79a00 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Wed, 1 Apr 2020 09:56:56 +0100 Subject: [PATCH] Issue #3123326 by Neslee Canil Pinto, longwave, Berdir: Remove pathauto version check from 9.0, no incompatible version is Drupal 9 compatible --- composer.lock | 3 +-- core/composer.json | 1 - core/modules/system/system.install | 17 ----------------- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/composer.lock b/composer.lock index 0f7c8f076a7a..652d92a448a3 100644 --- a/composer.lock +++ b/composer.lock @@ -457,7 +457,7 @@ "dist": { "type": "path", "url": "core", - "reference": "736241b40e0f56782640219f462bea6ec65cf1be" + "reference": "0c1a56a591d5a55e9beca019038289a445114d6b" }, "require": { "asm89/stack-cors": "^1.1", @@ -504,7 +504,6 @@ "typo3/phar-stream-wrapper": "^3.1.3" }, "conflict": { - "drupal/pathauto": "<1.6", "drush/drush": "<8.1.10" }, "replace": { diff --git a/core/composer.json b/core/composer.json index 4a4a8928dcd1..318ba16f32d4 100644 --- a/core/composer.json +++ b/core/composer.json @@ -48,7 +48,6 @@ "psr/log": "^1.0" }, "conflict": { - "drupal/pathauto": "<1.6", "drush/drush": "<8.1.10" }, "replace": { diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 08f50c5ed7d7..ee35c1c79af8 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1220,23 +1220,6 @@ function system_requirements($phase) { } } - // Prevent installation or update if the Pathauto module is installed and its - // version is less than 1.6. - if ($phase === 'install' || $phase === 'update') { - if (\Drupal::moduleHandler()->moduleExists('pathauto')) { - $info = \Drupal::service('extension.list.module')->getExtensionInfo('pathauto'); - if (version_compare($info['version'], '8.x-1.5') <= 0) { - $requirements['pathauto_module_incompatibility'] = [ - 'title' => t('Pathauto'), - 'description' => t('The Pathauto module is not compatible with the current version of Drupal core. Update the <a href=":url">Pathauto</a> module to 8.x-1.6 or later.', [ - ':url' => 'https://drupal.org/project/pathauto', - ]), - 'severity' => REQUIREMENT_ERROR, - ]; - } - } - } - // Ensure that no module has a current schema version that is lower than the // one that was last removed. if ($phase == 'update') { -- GitLab