Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In core/modules/content_moderation/content_moderation.module, $entity_type_ids
variable never used.
Comment | File | Size | Author |
---|---|---|---|
#4 | unusedvariable_entity_type_ids.png | 629.38 KB | shetpooja04 |
#2 | 3164498-2.patch | 1018 bytes | shetpooja04 |
Comments
Comment #2
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedPlease review
Comment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedReading this comment and paraphrasing:
Comment #4
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedCommit ID: 4362606d Link: https://git.drupalcode.org/project/drupal/-/commit/4362606d7106381c7b7c20a415b6d87378971594
For Issue: https://www.drupal.org/project/drupal/issues/3037136 #12 the changes were made
File: core/modules/content_moderation/content_moderation.module
$entity_type_ids is never getting used
Comment #5
jijojoseph_zyxware CreditAttribution: jijojoseph_zyxware as a volunteer and at Zyxware Technologies commentedI have reviewed the Patch. $entity_type_ids is never getting used. It is working fine without this variable.
Comment #7
catch#4 shows the variable was added unused.
Committed/pushed to 9.1.x, thanks!