Problem/Motivation

See discussion at #2869592-41: Disabled update module shouldn't produce a status report warning for a description of some of the problems of the current way this module is implemented. However, since #309040: Add hook_requirements_alter() was committed to core (available in 9.5.0 and later), there's now a clean and simple way to achieve the desired effect here, use hook_requirements_alter().

Steps to reproduce

Proposed resolution

Create a 2.0.x branch with the whole new (much simplified) way to silence the warning about not having core's update.module installed using hook_requirements_alter()

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dww created an issue. See original summary.

dww’s picture

Status: Active » Needs review

MR open for a new 2.0.x branch.

Wonder if I should just move this into a whole new contrib project called update_hide_uninstalled_warning or something, instead.

dww’s picture

japerry’s picture

Made you a co-maintainer. Love the idea of doing a 2.x branch for that part. The 1.x can be legacy, and with 9.5 already supported in 2.x (looking at the MR), we can probably drop 1.x after a few months.

dww’s picture

Version: 8.x-1.3 » 2.0.x-dev
Status: Needs review » Fixed

Cool, thanks!

Merged this into a new 2.0.x branch.
Cut a 2.0.x-dev release.
Tagged 2.0.0-rc1.

Calling this fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.