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.
In node_feed() function we have assignment, results of which is unused:
$teaser = ($item_length == 'teaser');
Comment | File | Size | Author |
---|---|---|---|
#3 | 1886876-3.patch | 505 bytes | swentel |
#1 | remove-unused-assignment-1886876.patch | 494 bytes | IRuslan |
Comments
Comment #1
IRuslan CreditAttribution: IRuslan commentedPatch is added.
Comment #2
marcingy CreditAttribution: marcingy commentedPatch looks good but this needs fixed in d8 first.
Comment #3
swentel CreditAttribution: swentel commentedD8 version
Comment #4
swentel CreditAttribution: swentel commentedComment #5
marcingy CreditAttribution: marcingy commentedComment #6
catchYep. Committed/pushed to 8.x.
Comment #7
dcam CreditAttribution: dcam commented#1: remove-unused-assignment-1886876.patch queued for re-testing.
Comment #8
dcam CreditAttribution: dcam commentedIt's the same basic patch that was applied to D8. It looks alright to me. I'm setting this as RTBC.
Comment #9
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/d0bc57b